Present alert for title.

This commit is contained in:
Jeroen Leenarts 2018-09-25 22:30:16 +02:00
parent 0342415705
commit 2dc9392904
1 changed files with 2 additions and 0 deletions

View File

@ -116,6 +116,8 @@ class QRScanViewController: UIViewController {
}
}))
self.present(alert, animated: true)
} catch {
scanDidEncounterError(title: "Invalid Code", message: "The scanned code is not a valid WireGuard config file.")
}