feat: Add audio message support to linux
This commit is contained in:
parent
54dff35ea4
commit
680dd886d8
4 changed files with 34 additions and 8 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue