Skip to content

Commit 678378a

Browse files
committed
store: Call AutocompleteViewManager.handleUserGroupRemove/UpdateEvent
These two methods were introduced but never called.
1 parent 2bbc743 commit 678378a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/model/store.dart

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -793,6 +793,11 @@ class PerAccountStore extends PerAccountStoreBase with
793793
case UserGroupEvent():
794794
assert(debugLog("server event: user_group/${event.op}"));
795795
_groups.handleUserGroupEvent(event);
796+
if (event is UserGroupRemoveEvent) {
797+
autocompleteViewManager.handleUserGroupRemoveEvent(event);
798+
} else if (event is UserGroupUpdateEvent) {
799+
autocompleteViewManager.handleUserGroupUpdateEvent(event);
800+
}
796801
notifyListeners();
797802

798803
case RealmUserAddEvent():

0 commit comments

Comments
 (0)