Fix wait for "add to circle" with await

merge-requests/67/merge
Hank Grabowski 2024-12-20 09:15:30 -05:00
rodzic 0738429a69
commit 14a69d2a72
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -199,7 +199,7 @@ class _UserProfileScreenState extends ConsumerState<UserProfileScreen> {
isUpdating = true;
});
if (isAdding) {
ref
await ref
.watch(circlesProvider(profile).notifier)
.addConnectionToCircle(g, connectionProfile);
} else {