fix: too long file names

onboarding
Raatty 4 years ago
parent 13ee8c0e78
commit 95afac534c

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

Loading…
Cancel
Save