1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2024-12-24 11:58:51 +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),
title: Text(user.displayName),
subtitle: subtitle,
onTap: () => MainController.of(context).openUserPage(user.id),
);
}
@ -156,6 +157,7 @@ class _MembershipsPanelState extends SafeState<MembershipsPanel> {
),
title: Text(group.displayName),
subtitle: subtitle,
onTap: () => MainController.of(context).openGroup(group.id),
);
}