mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-09 06:06:19 +02:00
Reinstate comment about not showing toasts while secret storage is being accessed
This commit is contained in:
parent
eb35c5403c
commit
67f0124f47
@ -269,6 +269,8 @@ export class DeviceListenerCurrentDevice {
|
||||
} else if (!isSecretStorageBeingAccessed()) {
|
||||
showSetupEncryptionToast(newState);
|
||||
} else {
|
||||
// If we're in the middle of a secret storage operation, we're likely
|
||||
// modifying the state involved here, so don't add new toasts to setup.
|
||||
logSpan.info("Device is not yet ready, but secret storage is being accessed, so not showing toast.");
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user