mirror of
https://gitlab.com/comunic/comunicmobile
synced 2024-11-22 12:59:21 +00:00
Automatically refresh groups list
This commit is contained in:
parent
8d49a80e79
commit
b52748a93b
@ -58,7 +58,11 @@ class _GroupsListScreenState extends SafeState<GroupsListScreen> {
|
||||
.map((g) => ListTile(
|
||||
leading: GroupIcon(group: g),
|
||||
title: Text(g.displayName),
|
||||
subtitle: GroupMembershipWidget(group: g),
|
||||
subtitle: GroupMembershipWidget(
|
||||
group: g,
|
||||
onUpdated: () =>
|
||||
_refreshIndicatorKey.currentState.show(),
|
||||
),
|
||||
trailing: IconButton(
|
||||
icon: Icon(Icons.delete),
|
||||
onPressed: () => _deleteGroup(g)),
|
||||
|
Loading…
Reference in New Issue
Block a user