mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-19 02:23:01 +08:00
style: format and init
[skip changelog]
This commit is contained in:
@@ -44,17 +44,17 @@ namespace MaaWpfGui.ViewModels.UI
|
||||
{
|
||||
private readonly RunningState _runningState;
|
||||
private static readonly ILogger _logger = Log.ForContext<CopilotViewModel>();
|
||||
private readonly List<int> _copilotIdList = new(); // 用于保存作业列表中的作业的Id,对于同一个作业,只有都执行成功才点赞
|
||||
private readonly List<int> _copilotIdList = []; // 用于保存作业列表中的作业的Id,对于同一个作业,只有都执行成功才点赞
|
||||
|
||||
/// <summary>
|
||||
/// Gets the view models of log items.
|
||||
/// </summary>
|
||||
public ObservableCollection<LogItemViewModel> LogItemViewModels { get; } = new();
|
||||
public ObservableCollection<LogItemViewModel> LogItemViewModels { get; } = [];
|
||||
|
||||
/// <summary>
|
||||
/// Gets or private sets the view models of Copilot items.
|
||||
/// </summary>
|
||||
public ObservableCollection<CopilotItemViewModel> CopilotItemViewModels { get; } = new();
|
||||
public ObservableCollection<CopilotItemViewModel> CopilotItemViewModels { get; } = [];
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="CopilotViewModel"/> class.
|
||||
|
||||
@@ -3433,7 +3433,7 @@ namespace MaaWpfGui.ViewModels.UI
|
||||
/// </summary>
|
||||
public List<CombinedData> AutoRecruitSelectExtraTagsList { get; } =
|
||||
[
|
||||
new() { Display = LocalizationHelper.GetString("DefaultNoExtraTags"), Value = "0" } ,
|
||||
new() { Display = LocalizationHelper.GetString("DefaultNoExtraTags"), Value = "0" },
|
||||
new() { Display = LocalizationHelper.GetString("SelectExtraTags"), Value = "1" },
|
||||
new() { Display = LocalizationHelper.GetString("SelectExtraOnlyRareTags"), Value = "2" },
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user