fix some typos and browser values

fix typo in windows tips
fix keyname in chrome browser
This commit is contained in:
Eulises Vargas 2023-08-03 21:38:05 -04:00
parent 10e84ccdb8
commit de9e48225e
2 changed files with 3 additions and 3 deletions

View File

@ -25,7 +25,7 @@ namespace Features.Feature.Browser
return !(
RegistryHelper.IntEquals(keyName, "MetricsReportingEnabled", desiredValue) &&
RegistryHelper.IntEquals(keyName, "ChromeCleanupReportingEnabled", desiredValue) &&
RegistryHelper.IntEquals(keyName, "SubscribedContent-353696Enabled", desiredValue)
RegistryHelper.IntEquals(keyName, "ChromeCleanupEnabled", desiredValue)
);
}
@ -35,7 +35,7 @@ namespace Features.Feature.Browser
{
Registry.SetValue(keyName, "MetricsReportingEnabled", desiredValue, RegistryValueKind.DWord);
Registry.SetValue(keyName, "ChromeCleanupReportingEnabled", desiredValue, RegistryValueKind.DWord);
Registry.SetValue(keyName, "SubscribedContent-353696Enabled", desiredValue, RegistryValueKind.DWord);
Registry.SetValue(keyName, "ChromeCleanupEnabled", desiredValue, RegistryValueKind.DWord);
logger.Log("- Google Chrome Telemetry has been disabled.");
logger.Log(keyName);

View File

@ -8,7 +8,7 @@ namespace Features.Feature.Privacy
{
private static readonly ErrorHelper logger = ErrorHelper.Instance;
private const string keyName = @"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager ";
private const string keyName = @"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager";
private const int desiredValue = 0;
public override string ID()