mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-20 10:57:45 +08:00
style: 修改变量名
This commit is contained in:
@@ -211,7 +211,7 @@ namespace MaaWpfGui.Constants
|
||||
|
||||
public const string OperBoxData = "OperBox.Data";
|
||||
|
||||
public const string ShowDisclaimerNoMore = "Gacha.ShowDisclaimerNoMore";
|
||||
public const string GachaShowDisclaimerNoMore = "Gacha.ShowDisclaimerNoMore";
|
||||
|
||||
public const string GuideStepIndex = "Guide.StepIndex";
|
||||
|
||||
|
||||
@@ -847,15 +847,15 @@ namespace MaaWpfGui.ViewModels.UI
|
||||
}
|
||||
}
|
||||
|
||||
private bool _ShowDisclaimerNoMore = Convert.ToBoolean(ConfigurationHelper.GetValue(ConfigurationKeys.ShowDisclaimerNoMore, bool.FalseString));
|
||||
private bool _gachaShowDisclaimerNoMore = Convert.ToBoolean(ConfigurationHelper.GetValue(ConfigurationKeys.GachaShowDisclaimerNoMore, bool.FalseString));
|
||||
|
||||
public bool ShowDisclaimerNoMore
|
||||
public bool GachaShowDisclaimerNoMore
|
||||
{
|
||||
get => _ShowDisclaimerNoMore;
|
||||
get => _gachaShowDisclaimerNoMore;
|
||||
set
|
||||
{
|
||||
SetAndNotify(ref _ShowDisclaimerNoMore, value);
|
||||
ConfigurationHelper.SetValue(ConfigurationKeys.ShowDisclaimerNoMore, value.ToString());
|
||||
SetAndNotify(ref _gachaShowDisclaimerNoMore, value);
|
||||
ConfigurationHelper.SetValue(ConfigurationKeys.GachaShowDisclaimerNoMore, value.ToString());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -361,7 +361,7 @@
|
||||
VerticalContentAlignment="Center"
|
||||
IsEnabled="False"
|
||||
Content="{DynamicResource ShowDisclaimerNoMore}"
|
||||
IsChecked="{Binding ShowDisclaimerNoMore}" />
|
||||
IsChecked="{Binding GachaShowDisclaimerNoMore}" />
|
||||
</StackPanel>
|
||||
|
||||
<StackPanel
|
||||
|
||||
Reference in New Issue
Block a user