Skip to content

Commit

Permalink
[Auth] Match Firebase 10 implementation in WKNavigationDelegate confo…
Browse files Browse the repository at this point in the history
…rmance (#13714)
  • Loading branch information
ncooke3 authored and andrewheard committed Sep 24, 2024
1 parent 146d52e commit 4b678e8
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,11 +99,11 @@
func webView(_ webView: WKWebView,
decidePolicyFor navigationAction: WKNavigationAction) async
-> WKNavigationActionPolicy {
let canHandleURL = delegate?.webViewController(
_ = delegate?.webViewController(
self,
canHandle: navigationAction.request.url ?? url
) ?? false
return canHandleURL ? .allow : .cancel
)
return .allow
}

func webView(_ webView: WKWebView,
Expand Down

0 comments on commit 4b678e8

Please sign in to comment.