Renameing the common setting name "CheckForUpdate Asked" to "AllowPromptForUpdates Preference" for consistency in naming conventions.

This commit is contained in:
Schmitti91
2024-01-23 21:43:29 +01:00
parent aad3948475
commit 0b4d95be1c
2 changed files with 2 additions and 2 deletions

View File

@@ -53,7 +53,7 @@ namespace mRemoteNG.Config.Settings.Registry
/// <remarks>
/// Important: If the registry entry is set to true, a popup will appear every time you start
/// </remarks>
public static bool CheckForUpdatesAsked { get; } = _WindowsRegistry.GetBoolValue(_Hive, __Update, nameof(CheckForUpdatesAsked));
public static bool AllowPromptForUpdatesPreference { get; } = _WindowsRegistry.GetBoolValue(_Hive, __Update, nameof(AllowPromptForUpdatesPreference), AllowCheckForUpdates);
#endregion

View File

@@ -348,7 +348,7 @@ namespace mRemoteNG.UI.Forms
{
if (!CommonRegistrySettings.AllowCheckForUpdates) return;
if (!CommonRegistrySettings.AllowCheckForUpdatesAutomatical) return;
if (CommonRegistrySettings.CheckForUpdatesAsked) return;
if (!CommonRegistrySettings.AllowPromptForUpdatesPreference) return;
if (Properties.OptionsUpdatesPage.Default.CheckForUpdatesAsked) return;
string[] commandButtons =