From bfafe969f43ae89ceea7f2d240adbe48b841b95f Mon Sep 17 00:00:00 2001 From: cswills <40963146+cswills@users.noreply.github.com> Date: Thu, 4 Aug 2022 14:28:28 -0400 Subject: [PATCH] feat: ellipsize sidebar quicklink url (#590) --- lib/components/drawer/quicklinks_listview.dart | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/components/drawer/quicklinks_listview.dart b/lib/components/drawer/quicklinks_listview.dart index 1f3f3f6b1..136df012e 100644 --- a/lib/components/drawer/quicklinks_listview.dart +++ b/lib/components/drawer/quicklinks_listview.dart @@ -34,7 +34,11 @@ class QuicklinksListView extends StatelessWidget { return ListTile( leading: Icon(quickLinksIconsMap[source.icon] ?? Icons.link), title: Text(source.label), - subtitle: Text(source.url.toString()), + subtitle: Text( + source.url.toString(), + maxLines: 1, + overflow: TextOverflow.ellipsis, + ), onTap: () => launchLink(source)); }).toList(), );