Add filestorage adapters
This commit is contained in:
@@ -111,7 +111,7 @@ import {
|
||||
} from "@app/core/state"
|
||||
import {loadAlertStatuses} from "@app/core/requests"
|
||||
import {platform, platformName, getPushInfo} from "@app/util/push"
|
||||
import {preferencesStorageProvider} from "@src/lib/storage"
|
||||
import {clearFileStorage, preferencesStorageProvider} from "@src/lib/storage"
|
||||
|
||||
// Utils
|
||||
|
||||
@@ -158,6 +158,8 @@ export const logout = async () => {
|
||||
|
||||
localStorage.clear()
|
||||
await preferencesStorageProvider.clear()
|
||||
|
||||
await clearFileStorage()
|
||||
}
|
||||
|
||||
// Synchronization
|
||||
|
||||
Reference in New Issue
Block a user