|
|
@ -114,9 +114,12 @@ class MessageContent extends StatelessWidget {
|
|
|
|
return CuteContent(event);
|
|
|
|
return CuteContent(event);
|
|
|
|
case MessageTypes.Audio:
|
|
|
|
case MessageTypes.Audio:
|
|
|
|
if (PlatformInfos.isMobile ||
|
|
|
|
if (PlatformInfos.isMobile ||
|
|
|
|
PlatformInfos.isMacOS ||
|
|
|
|
PlatformInfos.isMacOS ||
|
|
|
|
PlatformInfos.isWeb ||
|
|
|
|
PlatformInfos.isWeb
|
|
|
|
PlatformInfos.isLinux) {
|
|
|
|
// Disabled until https://github.com/bleonard252/just_audio_mpv/issues/3
|
|
|
|
|
|
|
|
// is fixed
|
|
|
|
|
|
|
|
// || PlatformInfos.isLinux
|
|
|
|
|
|
|
|
) {
|
|
|
|
return AudioPlayerWidget(
|
|
|
|
return AudioPlayerWidget(
|
|
|
|
event,
|
|
|
|
event,
|
|
|
|
color: textColor,
|
|
|
|
color: textColor,
|
|
|
|