fix alert without button

This commit is contained in:
Francisco Gindre 2020-12-09 19:31:28 -03:00
parent 60dc7ae6c5
commit bedeb89316
1 changed files with 1 additions and 0 deletions

View File

@ -119,6 +119,7 @@ class DerivationToolViewController: UIViewController {
func fail(_ error: Error) {
let alert = UIAlertController(title: "Error", message: "\(error)", preferredStyle: .alert)
alert.addAction(UIAlertAction(title: "OK", style: UIAlertAction.Style.default, handler: nil))
self.present(alert, animated: true, completion: nil)
}