chore: 优化自定义任务显示

This commit is contained in:
uye
2025-04-13 19:38:02 +08:00
parent 9eda7095e7
commit fab8731f50
2 changed files with 4 additions and 1 deletions

View File

@@ -486,6 +486,7 @@ C:\\leidian\\LDPlayer9。\n
<system:String x:Key="Mission">领取奖励</system:String>
<system:String x:Key="AutoRoguelike">自动肉鸽</system:String>
<system:String x:Key="Reclamation">生息演算</system:String>
<system:String x:Key="Custom">Debug</system:String>
<system:String x:Key="ReclamationTheme">生息演算主题</system:String>
<system:String x:Key="ReclamationThemeFire">沙中之火</system:String>
<system:String x:Key="ReclamationThemeTales">沙洲遗闻</system:String>

View File

@@ -678,7 +678,7 @@ namespace MaaWpfGui.ViewModels.UI
LocalizationHelper.GetString(task),
task,
"TaskQueue.",
task is not ("AutoRoguelike" or "Reclamation"));
task is not ("AutoRoguelike" or "Reclamation" or "Custom"));
if (task == TaskSettingVisibilityInfo.DefaultVisibleTaskSetting)
{
@@ -996,6 +996,7 @@ namespace MaaWpfGui.ViewModels.UI
{
case "AutoRoguelike":
case "Reclamation":
case "Custom":
continue;
}
@@ -1099,6 +1100,7 @@ namespace MaaWpfGui.ViewModels.UI
{
case "AutoRoguelike":
case "Reclamation":
case "Custom":
item.IsChecked = false;
continue;
}