Skip to content

Commit

Permalink
Merge pull request #28 from NuPlay/feat/deepLink
Browse files Browse the repository at this point in the history
🐛 Deep linking bug and crash fix
  • Loading branch information
NuPlay authored Feb 7, 2023
2 parents 26bd7fa + a0c9144 commit 6bd367c
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 6bd367c

Please sign in to comment.