mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2025-02-09 03:34:10 +01:00
fix: Too long file name cause a render overflow
This commit is contained in:
parent
0d12c31393
commit
15b655413d
@ -37,14 +37,17 @@ class MessageDownloadContent extends StatelessWidget {
|
|||||||
color: textColor,
|
color: textColor,
|
||||||
),
|
),
|
||||||
const SizedBox(width: 16),
|
const SizedBox(width: 16),
|
||||||
Text(
|
Flexible(
|
||||||
filename,
|
child: Text(
|
||||||
maxLines: 1,
|
filename,
|
||||||
style: TextStyle(
|
maxLines: 1,
|
||||||
color: textColor,
|
style: TextStyle(
|
||||||
fontWeight: FontWeight.bold,
|
color: textColor,
|
||||||
|
fontWeight: FontWeight.bold,
|
||||||
|
),
|
||||||
|
overflow: TextOverflow.ellipsis,
|
||||||
),
|
),
|
||||||
),
|
)
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
Loading…
Reference in New Issue
Block a user