fix: too long file names

This commit is contained in:
Raatty 2021-08-22 13:27:59 +12:00
parent b6e6301a14
commit 6f434c79ee

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