fix: workspace signout all
This commit is contained in:
@@ -41,6 +41,12 @@ export abstract class WebOrDesktopDevice implements WebOrDesktopDeviceInterface
|
||||
return this.databases.find((database) => database.databaseName === identifier) as Database
|
||||
}
|
||||
|
||||
async clearAllDataFromDevice(): Promise<void> {
|
||||
await this.clearRawKeychainValue()
|
||||
await this.removeAllRawStorageValues()
|
||||
await Database.deleteAll()
|
||||
}
|
||||
|
||||
deinit() {
|
||||
for (const database of this.databases) {
|
||||
database.deinit()
|
||||
|
||||
Reference in New Issue
Block a user