mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-18 07:28:28 +02:00
Session verification: Cancel if device is not found.
This commit is contained in:
@@ -188,7 +188,12 @@ final class UserVerificationSessionStatusViewController: UIViewController {
|
||||
|
||||
private func render(error: Error) {
|
||||
self.activityPresenter.removeCurrentActivityIndicator(animated: true)
|
||||
self.errorPresenter.presentError(from: self, forError: error, animated: true, handler: nil)
|
||||
self.errorPresenter.presentError(from: self, forError: error, animated: true, handler: {
|
||||
|
||||
if case UserVerificationSessionStatusViewModelError.deviceNotFound = error {
|
||||
self.viewModel.process(viewAction: .close)
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
private func buildUserInfoText(with userId: String, userDisplayName: String?) -> String {
|
||||
|
||||
Reference in New Issue
Block a user