mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:06:00 +00:00
Remove the requiresExtraAccountSetup badge. (#5921)
It is no longer part of the designs, we only badge the item in Settings.
This commit is contained in:
@@ -65,16 +65,13 @@ class HomeScreenViewModel: HomeScreenViewModelType, HomeScreenViewModelProtocol
|
||||
|
||||
switch securityState.recoveryState {
|
||||
case .disabled:
|
||||
state.requiresExtraAccountSetup = true
|
||||
if !state.securityBannerMode.isDismissed {
|
||||
state.securityBannerMode = .show(.setUpRecovery)
|
||||
}
|
||||
case .incomplete:
|
||||
state.requiresExtraAccountSetup = true
|
||||
state.securityBannerMode = .show(.recoveryOutOfSync)
|
||||
default:
|
||||
state.securityBannerMode = .none
|
||||
state.requiresExtraAccountSetup = false
|
||||
}
|
||||
}
|
||||
.store(in: &cancellables)
|
||||
|
||||
Reference in New Issue
Block a user