From 2dc939290431422666e02086f0865f76f41a386c Mon Sep 17 00:00:00 2001 From: Jeroen Leenarts Date: Tue, 25 Sep 2018 22:30:16 +0200 Subject: [PATCH] Present alert for title. --- WireGuard/ViewControllers/QRScanViewController.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/WireGuard/ViewControllers/QRScanViewController.swift b/WireGuard/ViewControllers/QRScanViewController.swift index c174637..5beb1eb 100644 --- a/WireGuard/ViewControllers/QRScanViewController.swift +++ b/WireGuard/ViewControllers/QRScanViewController.swift @@ -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.") }