mirror of
https://gitlab.com/comunic/comunicmobile
synced 2024-11-22 21:09: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(
|
.map((g) => ListTile(
|
||||||
leading: GroupIcon(group: g),
|
leading: GroupIcon(group: g),
|
||||||
title: Text(g.displayName),
|
title: Text(g.displayName),
|
||||||
subtitle: GroupMembershipWidget(group: g),
|
subtitle: GroupMembershipWidget(
|
||||||
|
group: g,
|
||||||
|
onUpdated: () =>
|
||||||
|
_refreshIndicatorKey.currentState.show(),
|
||||||
|
),
|
||||||
trailing: IconButton(
|
trailing: IconButton(
|
||||||
icon: Icon(Icons.delete),
|
icon: Icon(Icons.delete),
|
||||||
onPressed: () => _deleteGroup(g)),
|
onPressed: () => _deleteGroup(g)),
|
||||||
|
Loading…
Reference in New Issue
Block a user