allow playing audio files on linux, bc the bug is only on snap and extera next is not being built for snap
This commit is contained in:
parent
abea38a654
commit
63a733214d
|
|
@ -154,10 +154,9 @@ class MessageContent extends StatelessWidget {
|
||||||
case MessageTypes.Audio:
|
case MessageTypes.Audio:
|
||||||
if (PlatformInfos.isMobile ||
|
if (PlatformInfos.isMobile ||
|
||||||
PlatformInfos.isMacOS ||
|
PlatformInfos.isMacOS ||
|
||||||
PlatformInfos.isWeb
|
PlatformInfos.isWeb ||
|
||||||
// Disabled until https://github.com/bleonard252/just_audio_mpv/issues/3
|
// Extera Next is not being built for snap, so enable this.
|
||||||
// is fixed
|
PlatformInfos.isLinux
|
||||||
// || PlatformInfos.isLinux
|
|
||||||
) {
|
) {
|
||||||
return AudioPlayerWidget(
|
return AudioPlayerWidget(
|
||||||
event,
|
event,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue