1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2024-11-26 14:59:22 +00:00

Make membership buttons live

This commit is contained in:
Pierre HUBERT 2020-05-11 13:27:31 +02:00
parent 096fd42f22
commit 1309e7ad3a

View File

@ -131,6 +131,7 @@ class _MembershipsPanelState extends SafeState<MembershipsPanel> {
leading: AccountImageWidget(user: user, width: _MembershipIconsWidth), leading: AccountImageWidget(user: user, width: _MembershipIconsWidth),
title: Text(user.displayName), title: Text(user.displayName),
subtitle: subtitle, subtitle: subtitle,
onTap: () => MainController.of(context).openUserPage(user.id),
); );
} }
@ -156,6 +157,7 @@ class _MembershipsPanelState extends SafeState<MembershipsPanel> {
), ),
title: Text(group.displayName), title: Text(group.displayName),
subtitle: subtitle, subtitle: subtitle,
onTap: () => MainController.of(context).openGroup(group.id),
); );
} }