mirror of
				https://gitlab.com/famedly/fluffychat.git
				synced 2025-11-04 06:17:26 +01:00 
			
		
		
		
	Merge branch 'main' of gitlab.com:famedly/fluffychat into main
This commit is contained in:
		
						commit
						32edfdef81
					
				@ -131,9 +131,6 @@ class _AudioPlayerState extends State<AudioPlayerWidget> {
 | 
			
		||||
 | 
			
		||||
  @override
 | 
			
		||||
  Widget build(BuildContext context) {
 | 
			
		||||
    if (PlatformInfos.isLinux || PlatformInfos.isWindows) {
 | 
			
		||||
      return MessageDownloadContent(widget.event, widget.color);
 | 
			
		||||
    }
 | 
			
		||||
    return Row(
 | 
			
		||||
      mainAxisSize: MainAxisSize.min,
 | 
			
		||||
      children: <Widget>[
 | 
			
		||||
 | 
			
		||||
@ -95,10 +95,13 @@ class MessageContent extends StatelessWidget {
 | 
			
		||||
            }
 | 
			
		||||
            return MessageDownloadContent(event, textColor);
 | 
			
		||||
          case MessageTypes.Audio:
 | 
			
		||||
            return AudioPlayerWidget(
 | 
			
		||||
              event,
 | 
			
		||||
              color: textColor,
 | 
			
		||||
            );
 | 
			
		||||
            if (PlatformInfos.isMobile) {
 | 
			
		||||
              return AudioPlayerWidget(
 | 
			
		||||
                event,
 | 
			
		||||
                color: textColor,
 | 
			
		||||
              );
 | 
			
		||||
            }
 | 
			
		||||
            return MessageDownloadContent(event, textColor);
 | 
			
		||||
          case MessageTypes.Video:
 | 
			
		||||
            if (event.showThumbnail &&
 | 
			
		||||
                (PlatformInfos.isMobile || PlatformInfos.isWeb)) {
 | 
			
		||||
@ -127,6 +130,7 @@ class MessageContent extends StatelessWidget {
 | 
			
		||||
            return MessageDownloadContent(event, textColor);
 | 
			
		||||
          case MessageTypes.File:
 | 
			
		||||
            return MessageDownloadContent(event, textColor);
 | 
			
		||||
 | 
			
		||||
          case MessageTypes.Text:
 | 
			
		||||
          case MessageTypes.Notice:
 | 
			
		||||
          case MessageTypes.Emote:
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user