Remove duplicated check for HTTPS
This commit is contained in:
parent
68f2c28f48
commit
d43a3be6f6
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue