Skip to content

Commit

Permalink
+1
Browse files Browse the repository at this point in the history
  • Loading branch information
borut-t committed Sep 20, 2023
1 parent fb630f8 commit de0c432
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Sources/LinkedIn/WebView/LinkedInWebView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ public struct LinkedInWebView: UIViewRepresentable {
webView = WKWebView(frame: .zero, configuration: config)
self.onSuccess = onSuccess
self.onFailure = onFailure
webView.navigationDelegate = makeCoordinator()
}

public func makeUIView(context: Context) -> some UIView {
Expand All @@ -45,7 +44,7 @@ public struct LinkedInWebView: UIViewRepresentable {
dismiss()
return
}
// webView.navigationDelegate = context.coordinator
webView.navigationDelegate = context.coordinator
webView.load(.init(url: authURL))
}

Expand Down

0 comments on commit de0c432

Please sign in to comment.