We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e1d00ba commit f7c93a3Copy full SHA for f7c93a3
specs/IsSmartScreenRequired.md
@@ -43,10 +43,10 @@ void SettingsComponent::UpdateSmartScreenRequirementBeforeNavigating(bool isLoca
43
```
44
45
```c#
46
-void ToggleSmartScreenRequired()
+void UpdateSmartScreenRequirementBeforeNavigating(bool isLocalContent)
47
{
48
var settings = webView2Control.CoreWebView2.Settings;
49
- settings.IsReputationCheckingRequired = !settings.IsReputationCheckingRequired;
+ settings.IsReputationCheckingRequired = !isLocalContent;
50
}
51
52
0 commit comments