Commit af4bf316f0
Verified · cmc
gitbay/Views/Repos/OrgReadmeWebView.swift +1 −1
| @@ -226,7 +226,7 @@ private struct OrgWebRepresentable: UIViewRepresentable { | ||
| 226 | 226 | func webView( |
| 227 | 227 | _ webView: WKWebView, |
| 228 | 228 | decidePolicyFor action: WKNavigationAction, |
| 229 | decisionHandler: @escaping (WKNavigationActionPolicy) -> Void | |
| 229 | decisionHandler: @escaping @MainActor (WKNavigationActionPolicy) -> Void | |
| 230 | 230 | ) { |
| 231 | 231 | if action.navigationType == .linkActivated, let url = action.request.url { |
| 232 | 232 | parent.openURL(url) |