fix urlattachment title

This commit is contained in:
Salvatore Giordano
2020-12-11 10:15:07 +01:00
parent bcdc034a2d
commit 9fd79a3e00
+2 -1
View File
@@ -78,8 +78,9 @@ class UrlAttachment extends StatelessWidget {
children: [ children: [
if (urlAttachment.title != null) if (urlAttachment.title != null)
Text( Text(
urlAttachment.title, urlAttachment.title.trim(),
maxLines: 1, maxLines: 1,
overflow: TextOverflow.ellipsis,
style: TextStyle( style: TextStyle(
fontWeight: FontWeight.w700, fontWeight: FontWeight.w700,
fontSize: 12.0, fontSize: 12.0,