Skip to content

Commit

Permalink
feat: ellipsize sidebar quicklink url (#590)
Browse files Browse the repository at this point in the history
  • Loading branch information
cswills authored Aug 4, 2022
1 parent 17e5e70 commit bfafe96
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/components/drawer/quicklinks_listview.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
);
Expand Down

0 comments on commit bfafe96

Please sign in to comment.