Skip to content

Commit

Permalink
unwrap optional String
Browse files Browse the repository at this point in the history
  • Loading branch information
adbenitez authored and r10s committed Apr 27, 2024
1 parent 37a27d8 commit d6e2396
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deltachat-ios/Controller/WebxdcViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ class WebxdcViewController: WebViewViewController {
openChatFor(url: url)
decisionHandler(.cancel)
return
} else if url.scheme.lowercased() == "openpgp4fpr" {
} else if url.scheme?.lowercased() == "openpgp4fpr" {
UIApplication.shared.open(url)
decisionHandler(.cancel)
return
Expand Down

0 comments on commit d6e2396

Please sign in to comment.