mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 06:55:59 +00:00
Show recovery instead of verification if this is the last session and recovery is set up
* Show recovery instead of verification if this is the last session and recovery is set up * Rename `recoveryKeyState` to `recoveryState` * Remove duplicates on session security state changes. * Fix missing "Save recovery key" button * Fix unit tests * Rename `isLastDevice` to `isOnlyDeviceLeft` * Address PR comments
This commit is contained in:
@@ -49,6 +49,7 @@ enum ClientProxyError: Error {
|
||||
case failedSearchingUsers
|
||||
case failedGettingUserProfile
|
||||
case failedSettingUserAvatar
|
||||
case failedCheckingIsLastDevice(Error?)
|
||||
}
|
||||
|
||||
enum SlidingSyncConstants {
|
||||
@@ -96,6 +97,8 @@ protocol ClientProxyProtocol: AnyObject, MediaLoaderProtocol {
|
||||
|
||||
var secureBackupController: SecureBackupControllerProtocol { get }
|
||||
|
||||
func isOnlyDeviceLeft() async -> Result<Bool, ClientProxyError>
|
||||
|
||||
func startSync()
|
||||
|
||||
func stopSync()
|
||||
|
||||
Reference in New Issue
Block a user