From 112bc1ee085311b29f46ea48d6b14061fdd83136 Mon Sep 17 00:00:00 2001 From: Dain Nilsson Date: Fri, 12 Aug 2022 09:54:03 +0200 Subject: [PATCH] Fix account count not being immediately updated. --- lib/oath/state.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/oath/state.dart b/lib/oath/state.dart index 217aad6c..4fce028a 100755 --- a/lib/oath/state.dart +++ b/lib/oath/state.dart @@ -68,7 +68,7 @@ final credentialsProvider = StateNotifierProvider.autoDispose< ref.listen?>(credentialListProvider(node.path), (previous, next) { provider._updatePairs(next); - }); + }, fireImmediately: true); } return provider; });