MESSENGER-4535 remove error popup "no other devices" on self verification/ crosssigning Cherrypick

This commit is contained in:
Frank Rotermund
2023-04-12 13:50:50 +02:00
parent f827796444
commit 59c5739ba4
2 changed files with 5 additions and 1 deletions
@@ -214,7 +214,10 @@ final class KeyVerificationSelfVerifyWaitViewController: UIViewController {
private func render(error: Error) {
self.activityPresenter.removeCurrentActivityIndicator(animated: true)
self.errorPresenter.presentError(from: self, forError: error, animated: true, handler: nil)
// bwi: don't show unneccessary error alert when user only has one device -> he is able to use passphrase
if BWIBuildSettings.shared.showNoOtherDeviceError {
self.errorPresenter.presentError(from: self, forError: error, animated: true, handler: nil)
}
}
// MARK: - Actions