From 54bbaee7f5c5d500fa40874d94c29bbade3c084b Mon Sep 17 00:00:00 2001 From: Zorg Date: Mon, 4 Jan 2021 16:23:45 -0800 Subject: [PATCH] Re-add setting WebUIDelegate fix for legacy web view --- Sparkle/SULegacyWebView.m | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Sparkle/SULegacyWebView.m b/Sparkle/SULegacyWebView.m index f266a103..73244c8f 100644 --- a/Sparkle/SULegacyWebView.m +++ b/Sparkle/SULegacyWebView.m @@ -18,9 +18,11 @@ @end @protocol WebPolicyDelegate @end +@protocol WebUIDelegate +@end #endif -@interface SULegacyWebView () +@interface SULegacyWebView () @property (nonatomic, readonly) WebView *webView; @property (nonatomic) void (^completionHandler)(NSError * _Nullable); @@ -57,6 +59,7 @@ _webView.preferences = preferences; _webView.policyDelegate = self; _webView.frameLoadDelegate = self; + _webView.UIDelegate = self; } return self; }