mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-19 02:23:01 +08:00
style: qodana
This commit is contained in:
@@ -552,12 +552,11 @@ namespace MaaWpfGui.Main
|
||||
}
|
||||
|
||||
case AsstMsg.TaskChainStart:
|
||||
switch (taskChain)
|
||||
Instances.TaskQueueViewModel.FightTaskRunning = taskChain switch
|
||||
{
|
||||
case "Fight":
|
||||
Instances.TaskQueueViewModel.FightTaskRunning = true;
|
||||
break;
|
||||
}
|
||||
"Fight" => true,
|
||||
_ => Instances.TaskQueueViewModel.FightTaskRunning
|
||||
};
|
||||
|
||||
Instances.TaskQueueViewModel.AddLog(LocalizationHelper.GetString("StartTask") + taskChain);
|
||||
break;
|
||||
|
||||
@@ -2118,7 +2118,7 @@ namespace MaaWpfGui.ViewModels.UI
|
||||
/// Gets or sets 设置选择的编队
|
||||
/// </summary>
|
||||
// ReSharper disable once MemberCanBePrivate.Global
|
||||
public List<CombinedData> FormationSelectList { get; set; }
|
||||
public List<CombinedData> FormationSelectList { get; private set; }
|
||||
|
||||
private int _creditFightSelectFormation = Convert.ToInt32(ConfigurationHelper.GetValue(ConfigurationKeys.CreditFightSelectFormation, "0"));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user