Merge branch 'overflow_file_name' into 'main'

fix: too long file names

Closes #523

See merge request famedly/fluffychat!492
onboarding
Krille Fear 4 years ago
commit ebe81e4448

@ -30,12 +30,14 @@ class MessageDownloadContent extends StatelessWidget {
children: [ children: [
Icon(Icons.download_outlined), Icon(Icons.download_outlined),
SizedBox(width: 8), SizedBox(width: 8),
Text( Expanded(
child: Text(
filename, filename,
overflow: TextOverflow.fade, overflow: TextOverflow.fade,
softWrap: false, softWrap: false,
maxLines: 1, maxLines: 1,
), ),
),
], ],
), ),
), ),

Loading…
Cancel
Save