Skip to content

Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.

Prevent vault syncing pending flash in mobile app

Leendert de Borstb98bdca24f7e
diff --git a/apps/mobile-app/hooks/useVaultSync.ts b/apps/mobile-app/hooks/useVaultSync.ts
index 5c9913f66..7e65cc81f 100644
--- a/apps/mobile-app/hooks/useVaultSync.ts
+++ b/apps/mobile-app/hooks/useVaultSync.ts
@@ -249,6 +249,7 @@ export const useVaultSync = (): {
return false;
} finally {
syncInProgressRef.current = false;
+ await dbContext.refreshSyncState();
dbContext.setIsSyncing(false);
dbContext.setIsUploading(false);
}