chore: 叉掉不触发

This commit is contained in:
uye
2024-04-03 00:30:11 +08:00
parent 9521254ce1
commit d39fb4b2db

View File

@@ -715,6 +715,7 @@ namespace MaaWpfGui.Main
if (buyWine)
{
Instances.SettingsViewModel.LastBuyWineTime = DateTime.UtcNow.ToYjDate().ToFormattedString();
var result = MessageBoxHelper.Show(
LocalizationHelper.GetString("DrunkAndStaggering"),
LocalizationHelper.GetString("Burping"),
@@ -723,7 +724,6 @@ namespace MaaWpfGui.Main
if (result == MessageBoxResult.OK)
{
Instances.SettingsViewModel.Cheers = true;
Instances.SettingsViewModel.LastBuyWineTime = DateTime.UtcNow.ToYjDate().ToFormattedString();
Bootstrapper.ShutdownAndRestartWithoutArgs();
}
}