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,11 +30,13 @@ class MessageDownloadContent extends StatelessWidget {
children: [ children: [
Icon(Icons.download_outlined), Icon(Icons.download_outlined),
SizedBox(width: 8), SizedBox(width: 8),
Text( Expanded(
filename, child: Text(
overflow: TextOverflow.fade, filename,
softWrap: false, overflow: TextOverflow.fade,
maxLines: 1, softWrap: false,
maxLines: 1,
),
), ),
], ],
), ),