Fixes issue with changing local passcode; disables passcode option for ephemeral sessions.
This commit is contained in:
@@ -73,7 +73,10 @@ class StorageManager {
|
||||
}
|
||||
|
||||
this.itemsStorageMode = mode;
|
||||
this.storage.clear();
|
||||
if(newStorage !== this.storage) {
|
||||
// Only clear if this.storage isn't the same reference as newStorage
|
||||
this.storage.clear();
|
||||
}
|
||||
this.storage = newStorage;
|
||||
|
||||
if(mode == StorageManager.FixedEncrypted) {
|
||||
|
||||
Reference in New Issue
Block a user