Commit 22273c11 authored by Jose Blaya's avatar Jose Blaya
Browse files

Merge branch '54-present-alert-controller-in-main-thread' into 'develop'

Resolve "Present alert controller in main thread"

See merge request ios/client-library-apple!110
parents f66a2cfc 5043e1b6
......@@ -194,9 +194,11 @@ class RedeemViewController: AutolayoutViewController, WelcomeChild {
}
private func presentUnauthorizeCameraError() {
presentAlertWith(title: L10n.Welcome.Camera.Access.Error.title,
andMessage: L10n.Welcome.Camera.Access.Denied.message,
andButtonTitle: L10n.Ui.Global.close)
DispatchQueue.main.async {
self.presentAlertWith(title: L10n.Welcome.Camera.Access.Error.title,
andMessage: L10n.Welcome.Camera.Access.Denied.message,
andButtonTitle: L10n.Ui.Global.close)
}
}
private func presentAlertWith(title: String,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment