Show recover encryption keys message according to key backup requirement

This commit is contained in:
ismailgulek
2022-06-08 17:39:51 +03:00
parent 096164f10f
commit 8a5c9f3592
8 changed files with 52 additions and 13 deletions
@@ -77,11 +77,13 @@ struct AuthenticationSoftLogoutScreen: View {
.foregroundColor(theme.colors.primaryContent)
.accessibilityIdentifier("messageLabel1")
Text(VectorL10n.authSoftlogoutRecoverEncryptionKeys)
.font(theme.fonts.body)
.multilineTextAlignment(.leading)
.foregroundColor(theme.colors.primaryContent)
.accessibilityIdentifier("messageLabel2")
if viewModel.viewState.showRecoverEncryptionKeysMessage {
Text(VectorL10n.authSoftlogoutRecoverEncryptionKeys)
.font(theme.fonts.body)
.multilineTextAlignment(.leading)
.foregroundColor(theme.colors.primaryContent)
.accessibilityIdentifier("messageLabel2")
}
}
}