Skip to content

Commit

Permalink
chore: Debug mode for inspectable WebView should be checked at runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinZikmund committed Sep 13, 2024
1 parent da42929 commit 9e5ac59
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 9e5ac59

Please sign in to comment.