Skip to content

Commit

Permalink
fix: solve Swift Compiler Error (Xcode): Method does not override any…
Browse files Browse the repository at this point in the history
… method from its superclass pichillilorenzo#2278 pichillilorenzo#2279
  • Loading branch information
Filippo Paganelli committed Sep 18, 2024
1 parent 4c58653 commit e4eab5c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1429,7 +1429,7 @@ public class InAppWebView: WKWebView, UIScrollViewDelegate, WKUIDelegate,
}
}

public override func evaluateJavaScript(_ javaScriptString: String, completionHandler: ((Any?, Error?) -> Void)? = nil) {
public override func evaluateJavaScript(_ javaScriptString: String, completionHandler: (@MainActor @Sendable (Any?, (any Error)?) -> Void)? = nil) {
if let applePayAPIEnabled = settings?.applePayAPIEnabled, applePayAPIEnabled {
if let completionHandler = completionHandler {
completionHandler(nil, nil)
Expand Down

0 comments on commit e4eab5c

Please sign in to comment.