chore: 每次启动都会显示抽卡提示

fix #4864
This commit is contained in:
uye
2023-05-21 20:28:49 +08:00
parent 408bc50559
commit 8bd11e6d01
2 changed files with 1 additions and 4 deletions

View File

@@ -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";
}
}

View File

@@ -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());
}
}