From 858f100e0cc2c1c2dd3ee6a348c172870848b045 Mon Sep 17 00:00:00 2001 From: Roberto Doering Date: Fri, 22 Jul 2022 21:55:03 +0200 Subject: [PATCH] Update connections count fit in home drawer --- lib/components/home/widgets/home_drawer.dart | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/components/home/widgets/home_drawer.dart b/lib/components/home/widgets/home_drawer.dart index 66ac25865..05d0155db 100644 --- a/lib/components/home/widgets/home_drawer.dart +++ b/lib/components/home/widgets/home_drawer.dart @@ -164,8 +164,7 @@ class _ConnectionsCount extends ConsumerWidget { child: ConnectionCount( count: user.friendsCount, builder: (count) => HarpyListCard( - title: Text('$count following'), - multilineTitle: true, + title: FittedBox(child: Text('$count following')), onTap: () => router.pushNamed( FollowingPage.name, params: {'handle': user.handle}, @@ -178,8 +177,7 @@ class _ConnectionsCount extends ConsumerWidget { child: ConnectionCount( count: user.followersCount, builder: (count) => HarpyListCard( - title: Text('$count followers'), - multilineTitle: true, + title: FittedBox(child: Text('$count followers')), onTap: () => router.pushNamed( FollowersPage.name, params: {'handle': user.handle},