|
@ -158,8 +158,9 @@ extension AddAccountViewController: AddAccountViewInterface { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
func failureSetModel(error: Error) { |
|
|
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) |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|