fix: too long file names

onboarding
Raatty 4 years ago
parent 13ee8c0e78
commit 95afac534c

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

Loading…
Cancel
Save