Skip to content

Commit 335f3d2

Browse files
authored
[Auth] Match Firebase 10 implementation in WKNavigationDelegate conformance (#13714)
1 parent ce468fa commit 335f3d2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

FirebaseAuth/Sources/Swift/Utilities/AuthWebViewController.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,11 +99,11 @@
9999
func webView(_ webView: WKWebView,
100100
decidePolicyFor navigationAction: WKNavigationAction) async
101101
-> WKNavigationActionPolicy {
102-
let canHandleURL = delegate?.webViewController(
102+
_ = delegate?.webViewController(
103103
self,
104104
canHandle: navigationAction.request.url ?? url
105-
) ?? false
106-
return canHandleURL ? .allow : .cancel
105+
)
106+
return .allow
107107
}
108108

109109
func webView(_ webView: WKWebView,

0 commit comments

Comments
 (0)