mirror of
https://gitlab.com/comunic/comunicmobile
synced 2024-11-22 12:59:21 +00:00
Make membership buttons live
This commit is contained in:
parent
096fd42f22
commit
1309e7ad3a
@ -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),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user