Merge branch 'overflow_file_name' into 'main'

fix: too long file names

Closes #523

See merge request famedly/fluffychat!492
This commit is contained in:
Krille Fear 2021-08-22 10:06:05 +00:00
commit d2167c7e6f

View File

@ -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,
), ),
),
], ],
), ),
), ),