From e31afbb81e1ab12617935a1a1fa15cfeb05c5ac8 Mon Sep 17 00:00:00 2001 From: Sunset Date: Mon, 2 Jan 2023 17:46:12 +0500 Subject: [PATCH] Check if DownloadMode is not null or 0 --- src/SophiApp/Customisations/CustomisationStatus.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/SophiApp/Customisations/CustomisationStatus.cs b/src/SophiApp/Customisations/CustomisationStatus.cs index a619dbb6..e6e40dc4 100644 --- a/src/SophiApp/Customisations/CustomisationStatus.cs +++ b/src/SophiApp/Customisations/CustomisationStatus.cs @@ -297,7 +297,7 @@ public static bool _310() => RegHelper.GetNullableIntValue(RegistryHive.LocalMac public static bool _311() => RegHelper.GetNullableIntValue(RegistryHive.LocalMachine, POLICY_SYSTEM_PATH, _311_ENABLE_LINKED) == _311_ENABLE_LINKED_VALUE; public static bool _312() => RegHelper.GetNullableIntValue(RegistryHive.Users, _312_DELIVERY_SETTINGS_PATH, _312_DOWNLOAD_MODE) - .HasNullOrValue(ENABLED_VALUE); + .HasNullOrValue(DISABLED_VALUE).Invert(); public static bool _313() => DomainHelper.PcInDomain ? RegHelper.GetNullableIntValue(RegistryHive.LocalMachine, _313_WINLOGON_PATH, _313_FOREGROUND_POLICY) @@ -703,4 +703,4 @@ public static bool _927() => UwpHelper.PackageExist(UWP_WINDOWS_TERMINAL) public static bool ItsMagic() => true; } -} \ No newline at end of file +}