Merge branch 'filenametolong' into 'main'

filename is too long and over the widget

See merge request famedly/fluffychat!1103
This commit is contained in:
Krille 2023-05-16 16:55:19 +00:00
commit a838ba3000
1 changed files with 10 additions and 7 deletions

View File

@ -37,14 +37,17 @@ class MessageDownloadContent extends StatelessWidget {
color: textColor,
),
const SizedBox(width: 16),
Text(
filename,
maxLines: 1,
style: TextStyle(
color: textColor,
fontWeight: FontWeight.bold,
Flexible(
child: Text(
filename,
maxLines: 1,
style: TextStyle(
color: textColor,
fontWeight: FontWeight.bold,
),
overflow: TextOverflow.ellipsis,
),
),
)
],
),
),