Skip to content

Commit

Permalink
Update connections count fit in home drawer
Browse files Browse the repository at this point in the history
  • Loading branch information
robertodoering committed Jul 22, 2022
1 parent ba7e0de commit 858f100
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions lib/components/home/widgets/home_drawer.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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},
Expand All @@ -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},
Expand Down

0 comments on commit 858f100

Please sign in to comment.