Merge branch 'filenametolong' into 'main'

filename is too long and over the widget

See merge request famedly/fluffychat!1103
pull/444/head
Krille 2 years ago
commit 7dde6250e1

@ -37,14 +37,17 @@ class MessageDownloadContent extends StatelessWidget {
color: textColor, color: textColor,
), ),
const SizedBox(width: 16), const SizedBox(width: 16),
Text( Flexible(
child: Text(
filename, filename,
maxLines: 1, maxLines: 1,
style: TextStyle( style: TextStyle(
color: textColor, color: textColor,
fontWeight: FontWeight.bold, fontWeight: FontWeight.bold,
), ),
overflow: TextOverflow.ellipsis,
), ),
)
], ],
), ),
), ),

Loading…
Cancel
Save