Present alert for title.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
Jeroen Leenarts 2018-09-25 22:30:16 +02:00
parent df4e8e1fca
commit 7042e36fb5
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.")
}