From d43a3be6f6eea145470fcdd00e55bd324af6d7cd Mon Sep 17 00:00:00 2001 From: Danny Moesch Date: Tue, 25 Jun 2019 22:43:37 +0200 Subject: [PATCH] Remove duplicated check for HTTPS --- pass/Controllers/PGPKeySettingTableViewController.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pass/Controllers/PGPKeySettingTableViewController.swift b/pass/Controllers/PGPKeySettingTableViewController.swift index 195b9d2..af03282 100644 --- a/pass/Controllers/PGPKeySettingTableViewController.swift +++ b/pass/Controllers/PGPKeySettingTableViewController.swift @@ -28,7 +28,7 @@ class PGPKeySettingTableViewController: AutoCellHeightUITableViewController { Utils.alert(title: "CannotSavePgpKey".localize(), message: "SetPgpKeyUrlFirst.".localize(), controller: self, completion: nil) return false } - guard let scheme = url.scheme, scheme == "https", scheme == "https" else { + guard let scheme = url.scheme, scheme == "https" else { Utils.alert(title: "CannotSavePgpKey".localize(), message: "HttpNotSupported.".localize(), controller: self, completion: nil) return false }