rft: 拆分 设置-游戏设置 (#11185)

* rft: 拆分 设置-游戏设置

* perf: 简化数据绑定
This commit is contained in:
status102
2024-11-18 20:47:16 +08:00
committed by GitHub
parent 6435d700a9
commit 66684553a5
13 changed files with 138 additions and 128 deletions

View File

@@ -17,6 +17,7 @@ using System.Collections.Generic;
using MaaWpfGui.Constants;
using MaaWpfGui.Helper;
using MaaWpfGui.Utilities.ValueType;
using MaaWpfGui.ViewModels.UI;
using Stylet;
namespace MaaWpfGui.ViewModels.UserControl.TaskQueue;
@@ -79,7 +80,7 @@ public class ReclamationSettingsUserControlModel : PropertyChangedBase
{
if (string.IsNullOrEmpty(_reclamationToolToCraft))
{
return LocalizationHelper.GetString("ReclamationToolToCraftPlaceholder", DataHelper.ClientLanguageMapper[Instances.SettingsViewModel.ClientType]);
return LocalizationHelper.GetString("ReclamationToolToCraftPlaceholder", DataHelper.ClientLanguageMapper[SettingsViewModel.GameSettings.ClientType]);
}
return _reclamationToolToCraft;