mirror of
https://github.com/vector-im/element-ios.git
synced 2024-09-28 23:32:41 +00:00
Merge pull request #3709 from vector-im/handle_retry_on_biometrics
Handle Retry on Biometrics
This commit is contained in:
commit
891148d98f
2 changed files with 3 additions and 0 deletions
|
@ -12,6 +12,7 @@ Changes to be released in next version
|
|||
* Settings: New phone number is invisible in dark theme (#3218).
|
||||
* Handle call actions on other devices on VoIP pushes (#3677).
|
||||
* Fix "Unable to open the link" error when using non-Safari browsers (#3673).
|
||||
* Biometrics: Handle retry case.
|
||||
|
||||
⚠️ API Changes
|
||||
*
|
||||
|
|
|
@ -106,6 +106,8 @@ final class SetupBiometricsViewModel: SetupBiometricsViewModelType {
|
|||
self.coordinatorDelegate?.setupBiometricsViewModelDidCompleteWithReset(self, dueToTooManyErrors: true)
|
||||
} else if nsError.code == LAError.Code.userCancel.rawValue || nsError.code == LAError.Code.userFallback.rawValue {
|
||||
self.userCancelledUnlockWithBiometrics()
|
||||
} else {
|
||||
self.update(viewState: .cantUnlocked)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue