From 7c7968b2f2b559d27713916ff1c962f09552645a Mon Sep 17 00:00:00 2001 From: Zorg Date: Sat, 16 Jan 2021 20:45:05 -0800 Subject: [PATCH] Fix UIDelegate not being set from master 4390eb9eb2c40c9f69916f8e48f06fc099bd0225 --- Sparkle/SULegacyWebView.m | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Sparkle/SULegacyWebView.m b/Sparkle/SULegacyWebView.m index 88001013..8808d248 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; }