Browse Source

to use main thread

pull/1/head
james 5 years ago
parent
commit
5d3c16fa96
  1. 2
      GMERemittance/AppDelegate.swift

2
GMERemittance/AppDelegate.swift

@ -270,6 +270,7 @@ extension AppDelegate: BiometricAuthenticationViewControllerDelegate{
func viewController(_ viewController: BiometricAuthenticationViewController, didFailWithError error: Error, errorMessage: String?) {
print("BiometricAuthenticationWireframe Error: \(errorMessage ?? "")")
DispatchQueue.main.async {
if let error = error as? BiometricAuthenticationError {
switch error {
@ -287,6 +288,7 @@ extension AppDelegate: BiometricAuthenticationViewControllerDelegate{
}
}
}
}
func doSelectLocalAuthenticationPolicy(_ viewController: BiometricAuthenticationViewController) -> BiometricAuthenticationPolicy{
return .deviceOwnerAuthenticationWithBiometrics

Loading…
Cancel
Save