Skip to content

Commit

Permalink
+1 disable state temp
Browse files Browse the repository at this point in the history
  • Loading branch information
borut-t committed Sep 20, 2023
1 parent dd37b8a commit cffd5f4
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Sources/LinkedIn/WebView/LinkedInWebView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -88,12 +88,12 @@ public extension LinkedInWebView {
decisionHandler(.allow)
return
}
guard requestState == state.value ?? "" else {
parent.onFailure?()
decisionHandler(.allow)
parent.dismiss()
return
}
// guard requestState == state.value ?? "" else {
// parent.onFailure?()
// decisionHandler(.allow)
// parent.dismiss()
// return
// }
parent.onSuccess?((code.value ?? "", parent.requestState))
decisionHandler(.allow)
parent.dismiss()
Expand Down

0 comments on commit cffd5f4

Please sign in to comment.