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: [
Icon(Icons.download_outlined),
SizedBox(width: 8),
Text(
filename,
overflow: TextOverflow.fade,
softWrap: false,
maxLines: 1,
Expanded(
child: Text(
filename,
overflow: TextOverflow.fade,
softWrap: false,
maxLines: 1,
),
),
],
),