From 9e5ac59eeacf71f4d08cca643f0a0438f6cea7e9 Mon Sep 17 00:00:00 2001 From: Martin Zikmund Date: Fri, 13 Sep 2024 12:45:19 +0200 Subject: [PATCH 1/2] chore: Debug mode for inspectable WebView should be checked at runtime --- .../Controls/WebView/Native/iOSmacOS/UnoWKWebView.iOSmacOS.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Uno.UI/UI/Xaml/Controls/WebView/Native/iOSmacOS/UnoWKWebView.iOSmacOS.cs b/src/Uno.UI/UI/Xaml/Controls/WebView/Native/iOSmacOS/UnoWKWebView.iOSmacOS.cs index b06939822a26..faf405bfc786 100644 --- a/src/Uno.UI/UI/Xaml/Controls/WebView/Native/iOSmacOS/UnoWKWebView.iOSmacOS.cs +++ b/src/Uno.UI/UI/Xaml/Controls/WebView/Native/iOSmacOS/UnoWKWebView.iOSmacOS.cs @@ -67,7 +67,7 @@ public partial class UnoWKWebView : WKWebView, INativeWebView, IWKScriptMessageH } } -#if __IOS__ && DEBUG +#if __IOS__ if (UIDevice.CurrentDevice.CheckSystemVersion(16, 4)) { Inspectable = FeatureConfiguration.WebView2.IsInspectable; From 52583a21b8efbd752ebc1ccf2d7cb8ee90b5b32b Mon Sep 17 00:00:00 2001 From: Andres Pineda Date: Fri, 13 Sep 2024 19:06:36 -0400 Subject: [PATCH 2/2] chore: fix CI adding full namespace to function --- .../Controls/WebView/Native/iOSmacOS/UnoWKWebView.iOSmacOS.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Uno.UI/UI/Xaml/Controls/WebView/Native/iOSmacOS/UnoWKWebView.iOSmacOS.cs b/src/Uno.UI/UI/Xaml/Controls/WebView/Native/iOSmacOS/UnoWKWebView.iOSmacOS.cs index faf405bfc786..79c7bbc4cc21 100644 --- a/src/Uno.UI/UI/Xaml/Controls/WebView/Native/iOSmacOS/UnoWKWebView.iOSmacOS.cs +++ b/src/Uno.UI/UI/Xaml/Controls/WebView/Native/iOSmacOS/UnoWKWebView.iOSmacOS.cs @@ -70,7 +70,7 @@ public partial class UnoWKWebView : WKWebView, INativeWebView, IWKScriptMessageH #if __IOS__ if (UIDevice.CurrentDevice.CheckSystemVersion(16, 4)) { - Inspectable = FeatureConfiguration.WebView2.IsInspectable; + Inspectable = Uno.UI.FeatureConfiguration.WebView2.IsInspectable; } #endif