Skip to content

Commit

Permalink
🐛 Deep linking bug and crash fix
Browse files Browse the repository at this point in the history
  • Loading branch information
NuPlay committed Feb 7, 2023
1 parent 26bd7fa commit a0c9144
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Sources/RichText/Views/Webview.swift
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,9 @@ extension WebView {
break
}
default:
return
if UIApplication.shared.canOpenURL(url) {
UIApplication.shared.open(url, options: [:], completionHandler: nil)
}
}

decisionHandler(WKNavigationActionPolicy.cancel)
Expand Down

0 comments on commit a0c9144

Please sign in to comment.