chore: Follow up search

This commit is contained in:
krille-chan 2024-05-05 14:17:12 +02:00
commit b20b599ce4
No known key found for this signature in database
5 changed files with 32 additions and 25 deletions

View file

@ -155,10 +155,7 @@ class MessageContent extends StatelessWidget {
}
return MessageDownloadContent(event, textColor);
case MessageTypes.Video:
if (PlatformInfos.isMobile || PlatformInfos.isWeb) {
return EventVideoPlayer(event);
}
return MessageDownloadContent(event, textColor);
return EventVideoPlayer(event);
case MessageTypes.File:
return MessageDownloadContent(event, textColor);