|
|
@ -235,17 +235,21 @@ class SendMoneyVerificationViewController: UITableViewController { |
|
|
|
|
|
|
|
if (self.requestModel?.autoDebitAccount?.type ?? "").lowercased() == "wallet" { |
|
|
|
|
|
|
|
if let isUseBiometricAuth = KeyChain.shared.get(key: .biometricAuth), isUseBiometricAuth == "1" { |
|
|
|
if let isUseBiometric = KeyChain.shared.get(key: .biometricAuth), isUseBiometric == "1" { |
|
|
|
let biometricAuthenticationWireframe = BiometricAuthenticationWireframe() |
|
|
|
biometricAuthenticationWireframe.openWithDelegate(on: self, delegate: self) |
|
|
|
} else { |
|
|
|
showQwertyTranskeyAction() |
|
|
|
} |
|
|
|
|
|
|
|
return |
|
|
|
} |
|
|
|
} else { |
|
|
|
if let isUseBiometric = KeyChain.shared.get(key: .biometricAuth), isUseBiometric == "1" { |
|
|
|
let biometricAuthenticationWireframe = BiometricAuthenticationWireframe() |
|
|
|
biometricAuthenticationWireframe.openWithDelegate(on: self, delegate: self) |
|
|
|
} else { |
|
|
|
SendMoneyCodeWireframe().open(requestmodel: self.requestModel, completion: self.otpEntered, source: self) |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
func otpEntered(otp: String) { |
|
|
|
self.password = otp |
|
|
@ -260,7 +264,7 @@ class SendMoneyVerificationViewController: UITableViewController { |
|
|
|
let hintStr = String(format:"pasword", 0) |
|
|
|
let font = UIFont(name: "Arial", size: 15) |
|
|
|
mQwertyTransKeyView?.mTK_SetHint(hintStr, font: font) |
|
|
|
// mQwertyTransKeyView?.mTK_ShowMessageIfMaxLength("16자리 입력이 초과되었습니다.")i |
|
|
|
// mQwertyTransKeyView?.mTK_ShowMessageIfMaxLength("16자리 입력이 초과되었습니다.")i |
|
|
|
mQwertyTransKeyView?.mTK_UseCursor(true) |
|
|
|
mQwertyTransKeyView?.mTK_UseAllDeleteButton(true) |
|
|
|
mQwertyTransKeyView?.mTK_UseNavigationBar(true) |
|
|
@ -329,7 +333,7 @@ extension SendMoneyVerificationViewController: SendMoneyVerificationViewInterfac |
|
|
|
} |
|
|
|
|
|
|
|
func show(error: String) { |
|
|
|
// self.presenter?.openReciept(transactionId: "1235") |
|
|
|
// self.presenter?.openReciept(transactionId: "1235") |
|
|
|
if isUsingBiometricAuth { |
|
|
|
if error.contains("Invalid Password") { |
|
|
|
MainWireframe.logoutWarningAlert(message: "It is different from registered password.\nplease try to login again") |
|
|
|