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