refactor: Switch to just audio for playing sounds
This commit is contained in:
parent
3cd9d3a2b2
commit
5eae299910
7 changed files with 74 additions and 72 deletions
|
|
@ -80,7 +80,7 @@ class MessageContent extends StatelessWidget {
|
|||
case MessageTypes.Sticker:
|
||||
return Sticker(event);
|
||||
case MessageTypes.Audio:
|
||||
if (PlatformInfos.isMobile) {
|
||||
if (PlatformInfos.isMobile || PlatformInfos.isDesktop) {
|
||||
return AudioPlayerWidget(
|
||||
event,
|
||||
color: textColor,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue