|
@ -138,12 +138,12 @@ final class BiometricAuthenticationViewController: UIViewController, BiometricAu |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
private func showAuthentication() { |
|
|
private func showAuthentication() { |
|
|
#if DEBUG |
|
|
|
|
|
DispatchQueue.main.async { |
|
|
|
|
|
self.delegate?.didComplete(self) |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
#else |
|
|
|
|
|
|
|
|
// #if DEBUG |
|
|
|
|
|
// DispatchQueue.main.async { |
|
|
|
|
|
// self.delegate?.didComplete(self) |
|
|
|
|
|
// } |
|
|
|
|
|
// |
|
|
|
|
|
// #else |
|
|
guard |
|
|
guard |
|
|
let isUseBiometricAuth = KeyChain.shared.get(key: .biometricAuth), |
|
|
let isUseBiometricAuth = KeyChain.shared.get(key: .biometricAuth), |
|
|
isUseBiometricAuth == "1" else { |
|
|
isUseBiometricAuth == "1" else { |
|
@ -157,6 +157,6 @@ final class BiometricAuthenticationViewController: UIViewController, BiometricAu |
|
|
return |
|
|
return |
|
|
} |
|
|
} |
|
|
self.presenter?.showBiometricAuthentication() |
|
|
self.presenter?.showBiometricAuthentication() |
|
|
#endif |
|
|
|
|
|
|
|
|
// #endif |
|
|
} |
|
|
} |
|
|
} |
|
|
} |