mirror of
https://github.com/passepartoutvpn/wireguard-apple.git
synced 2025-02-16 12:52:06 +00:00
Present alert for title.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
parent
df4e8e1fca
commit
7042e36fb5
@ -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.")
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user