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 {
|
} catch {
|
||||||
scanDidEncounterError(title: "Invalid Code", message: "The scanned code is not a valid WireGuard config file.")
|
scanDidEncounterError(title: "Invalid Code", message: "The scanned code is not a valid WireGuard config file.")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue