feat: Add audio message support to linux

This commit is contained in:
Krille Fear 2022-12-30 10:51:26 +01:00
commit 680dd886d8
4 changed files with 34 additions and 8 deletions

View file

@ -112,7 +112,9 @@ class MessageContent extends StatelessWidget {
case CuteEventContent.eventType:
return CuteContent(event);
case MessageTypes.Audio:
if (PlatformInfos.isMobile || PlatformInfos.isMacOS) {
if (PlatformInfos.isMobile ||
PlatformInfos.isMacOS ||
PlatformInfos.isLinux) {
return AudioPlayerWidget(
event,
color: textColor,