Re-work storage to optimize file access

This commit is contained in:
Jon Staab
2025-10-06 17:01:25 -07:00
parent 666433912f
commit 632f330b4c
3 changed files with 158 additions and 87 deletions
+2 -2
View File
@@ -110,7 +110,7 @@ import {
} from "@app/core/state"
import {loadAlertStatuses} from "@app/core/requests"
import {platform, platformName, getPushInfo} from "@app/util/push"
import {preferencesStorageProvider, collectionStorageProvider} from "@src/lib/storage"
import {preferencesStorageProvider, Collection} from "@src/lib/storage"
// Utils
@@ -156,7 +156,7 @@ export const logout = async () => {
localStorage.clear()
await preferencesStorageProvider.clear()
await collectionStorageProvider.clear()
await Collection.clearAll()
}
// Synchronization