From 1309e7ad3ae216ec969f78e34d58902c0e5a0f45 Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Mon, 11 May 2020 13:27:31 +0200 Subject: [PATCH] Make membership buttons live --- lib/ui/widgets/tablet_mode/memberships_panel.dart | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/ui/widgets/tablet_mode/memberships_panel.dart b/lib/ui/widgets/tablet_mode/memberships_panel.dart index 324dc7a..50d12c0 100644 --- a/lib/ui/widgets/tablet_mode/memberships_panel.dart +++ b/lib/ui/widgets/tablet_mode/memberships_panel.dart @@ -131,6 +131,7 @@ class _MembershipsPanelState extends SafeState { leading: AccountImageWidget(user: user, width: _MembershipIconsWidth), title: Text(user.displayName), subtitle: subtitle, + onTap: () => MainController.of(context).openUserPage(user.id), ); } @@ -156,6 +157,7 @@ class _MembershipsPanelState extends SafeState { ), title: Text(group.displayName), subtitle: subtitle, + onTap: () => MainController.of(context).openGroup(group.id), ); }