fix: Add flexible to file messages to prevent long name overflow

pull/2034/head
Kelrap 3 months ago
parent 70f0a7cff0
commit c82b14971e

@ -53,7 +53,8 @@ class MessageDownloadContent extends StatelessWidget {
backgroundColor: textColor.withAlpha(32), backgroundColor: textColor.withAlpha(32),
child: Icon(Icons.file_download_outlined, color: textColor), child: Icon(Icons.file_download_outlined, color: textColor),
), ),
Column( Flexible(
child: Column(
crossAxisAlignment: CrossAxisAlignment.start, crossAxisAlignment: CrossAxisAlignment.start,
mainAxisSize: MainAxisSize.min, mainAxisSize: MainAxisSize.min,
children: [ children: [
@ -74,6 +75,7 @@ class MessageDownloadContent extends StatelessWidget {
), ),
], ],
), ),
),
], ],
), ),
), ),

Loading…
Cancel
Save