Fix backup check for whether user has ever enabled.
This commit is contained in:
parent
e90560c6cc
commit
ce6f0ca483
1 changed files with 2 additions and 2 deletions
|
@ -108,9 +108,9 @@ class BackupsSettingsViewModel : ViewModel() {
|
|||
|
||||
private fun getEnabledStateForNoTier(): BackupsSettingsState.EnabledState {
|
||||
return if (SignalStore.uiHints.hasEverEnabledRemoteBackups) {
|
||||
BackupsSettingsState.EnabledState.Never
|
||||
} else {
|
||||
BackupsSettingsState.EnabledState.Inactive
|
||||
} else {
|
||||
BackupsSettingsState.EnabledState.Never
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue