Use capacitor preferences package instead of localStorage

This commit is contained in:
Matthew Remmel
2025-08-29 11:06:50 -04:00
committed by Jon Staab
parent 2672a8f922
commit c94d314f6d
11 changed files with 108 additions and 19 deletions
+2
View File
@@ -78,6 +78,7 @@ import {
userRoomsByUrl,
userSettingsValues,
} from "@app/core/state"
import {preferencesStorageProvider} from "@src/lib/storage"
// Utils
@@ -124,6 +125,7 @@ export const logout = async () => {
await clearStorage()
localStorage.clear()
await preferencesStorageProvider.clear()
}
// Synchronization