mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 16:10:20 +00:00
Remove unnecessary updateBackupStateFromRemote call
This is a remote check fired on every startup and the `backupStateListenerTaskHandle`'s unknown state already handles it.
This commit is contained in:
@@ -79,8 +79,6 @@ class SecureBackupController: SecureBackupControllerProtocol {
|
|||||||
|
|
||||||
MXLog.info("Recovery state changed to: \(state), setting local state to \(recoveryStateSubject.value)")
|
MXLog.info("Recovery state changed to: \(state), setting local state to \(recoveryStateSubject.value)")
|
||||||
})
|
})
|
||||||
|
|
||||||
updateBackupStateFromRemote()
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func enable() async -> Result<Void, SecureBackupControllerError> {
|
func enable() async -> Result<Void, SecureBackupControllerError> {
|
||||||
|
|||||||
Reference in New Issue
Block a user