Browse Source

bugfix

pull/1/head
james 5 years ago
parent
commit
7a017e784a
  1. 5
      GMERemittance/Module/AutoDebitModules/AddAccount/User Interface/View/AddAccountViewController.swift

5
GMERemittance/Module/AutoDebitModules/AddAccount/User Interface/View/AddAccountViewController.swift

@ -158,8 +158,9 @@ extension AddAccountViewController: AddAccountViewInterface {
}
func failureSetModel(error: Error) {
alert(message: error.localizedDescription, title: "Warning"){
dismiss(animated: true, completion: nil)
alert(message: error.localizedDescription, title: "Warning"){[weak self] in
guard let `self` = self else {return}
self.dismiss(animated: true, completion: nil)
}
}

Loading…
Cancel
Save