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
@@ -33,10 +33,12 @@ class AuthenticationSoftLogoutViewModel: AuthenticationSoftLogoutViewModelType,
init(credentials: SoftLogoutCredentials,
homeserver: AuthenticationHomeserverViewData,
keyBackupNeeded: Bool,
password: String = "") {
let bindings = AuthenticationSoftLogoutBindings(password: password)
let viewState = AuthenticationSoftLogoutViewState(credentials: credentials,
homeserver: homeserver,
keyBackupNeeded: keyBackupNeeded,
bindings: bindings)
super.init(initialViewState: viewState)
}