mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2025-02-21 16:50:41 +01:00
Merge branch 'filenametolong' into 'main'
filename is too long and over the widget See merge request famedly/fluffychat!1103
This commit is contained in:
commit
a838ba3000
@ -37,14 +37,17 @@ class MessageDownloadContent extends StatelessWidget {
|
|||||||
color: textColor,
|
color: textColor,
|
||||||
),
|
),
|
||||||
const SizedBox(width: 16),
|
const SizedBox(width: 16),
|
||||||
Text(
|
Flexible(
|
||||||
|
child: Text(
|
||||||
filename,
|
filename,
|
||||||
maxLines: 1,
|
maxLines: 1,
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
color: textColor,
|
color: textColor,
|
||||||
fontWeight: FontWeight.bold,
|
fontWeight: FontWeight.bold,
|
||||||
),
|
),
|
||||||
|
overflow: TextOverflow.ellipsis,
|
||||||
),
|
),
|
||||||
|
)
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user