mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-11-24 04:59:26 +01:00
chore: Disable audio player on linux
This commit is contained in:
parent
ca203608fa
commit
d3e3252de8
@ -112,9 +112,12 @@ class MessageContent extends StatelessWidget {
|
||||
case CuteEventContent.eventType:
|
||||
return CuteContent(event);
|
||||
case MessageTypes.Audio:
|
||||
if (PlatformInfos.isMobile ||
|
||||
PlatformInfos.isMacOS ||
|
||||
PlatformInfos.isLinux) {
|
||||
if (PlatformInfos.isMobile || PlatformInfos.isMacOS
|
||||
// || latformInfos.isLinux
|
||||
// disabled until
|
||||
// https://github.com/bleonard252/just_audio_mpv/issues/3 is
|
||||
// fixed
|
||||
) {
|
||||
return AudioPlayerWidget(
|
||||
event,
|
||||
color: textColor,
|
||||
|
Loading…
Reference in New Issue
Block a user