Present alert for title.
This commit is contained in:
parent
0342415705
commit
2dc9392904
|
@ -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