mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-17 18:01:26 +08:00
@@ -157,8 +157,6 @@ namespace MaaWpfGui.Constants
|
||||
|
||||
public const string OperBoxData = "OperBox.Data";
|
||||
|
||||
public const string GachaShowDisclaimer = "Gacha.ShowDisclaimer";
|
||||
|
||||
public const string GuideStepIndex = "Guide.StepIndex";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -718,7 +718,7 @@ namespace MaaWpfGui.ViewModels.UI
|
||||
}
|
||||
}
|
||||
|
||||
private bool _gachaShowDisclaimer = Convert.ToBoolean(ConfigurationHelper.GetValue(ConfigurationKeys.GachaShowDisclaimer, bool.TrueString));
|
||||
private bool _gachaShowDisclaimer = true;
|
||||
|
||||
public bool GachaShowDisclaimer
|
||||
{
|
||||
@@ -726,7 +726,6 @@ namespace MaaWpfGui.ViewModels.UI
|
||||
set
|
||||
{
|
||||
SetAndNotify(ref _gachaShowDisclaimer, value);
|
||||
ConfigurationHelper.SetValue(ConfigurationKeys.GachaShowDisclaimer, value.ToString());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user