chore: Remove broken voice messages for Linux and Windows

This commit is contained in:
Krille Fear 2022-03-27 10:12:07 +00:00
commit 5247de044e
8 changed files with 2 additions and 26 deletions

View file

@ -80,7 +80,7 @@ class MessageContent extends StatelessWidget {
case MessageTypes.Sticker:
return Sticker(event);
case MessageTypes.Audio:
if (PlatformInfos.isMobile || PlatformInfos.isDesktop) {
if (PlatformInfos.isMobile || PlatformInfos.isMacOS) {
return AudioPlayerWidget(
event,
color: textColor,