mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 06:31:27 +00:00
Tweak the flow for disabling key storage. (#3464)
* Refactor RoundedLabelItem into the Compound VisualListItem component. * Update the design of SecureBackupKeyBackupScreen. * Add a hint to the key storage toggle when disabled.
This commit is contained in:
+4
@@ -17,6 +17,10 @@ struct SecureBackupScreenViewState: BindableState {
|
||||
var recoveryState = SecureBackupRecoveryState.unknown
|
||||
var keyBackupState = SecureBackupKeyBackupState.unknown
|
||||
var bindings: SecureBackupScreenViewStateBindings
|
||||
|
||||
var keyStorageToggleDescription: String? {
|
||||
keyBackupState.keyStorageToggleState ? nil : L10n.screenChatBackupKeyStorageDisabledError
|
||||
}
|
||||
}
|
||||
|
||||
struct SecureBackupScreenViewStateBindings {
|
||||
|
||||
Reference in New Issue
Block a user