fix: Too long file name cause a render overflow

pull/444/head
Skying 2 years ago committed by Krille
parent e838253ba6
commit 1088eb0500

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

Loading…
Cancel
Save