mirror of
https://github.com/krille-chan/fluffychat
synced 2024-09-10 09:45:14 +00:00
chore: Disable audio player on linux
This commit is contained in:
parent
680dd886d8
commit
1398612190
1 changed files with 6 additions and 3 deletions
|
@ -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 a new issue