chore: format & nullable

[skip changelog]
This commit is contained in:
status102
2024-11-22 21:44:20 +08:00
parent 89fe3ddcc2
commit 47d8b0f604
10 changed files with 42 additions and 22 deletions

View File

@@ -1631,7 +1631,7 @@ namespace MaaWpfGui.ViewModels.UI
{
var order = Instances.SettingsViewModel.GetInfrastOrderList();
Instances.AsstProxy.AsstSetInfrastTaskParams(
order.ToArray(),
order,
Instances.SettingsViewModel.UsesOfDrones,
Instances.SettingsViewModel.ContinueTraining,
Instances.SettingsViewModel.DormThreshold / 100.0,
@@ -1653,7 +1653,7 @@ namespace MaaWpfGui.ViewModels.UI
var order = Instances.SettingsViewModel.GetInfrastOrderList();
return Instances.AsstProxy.AsstAppendInfrast(
order.ToArray(),
order,
Instances.SettingsViewModel.UsesOfDrones,
Instances.SettingsViewModel.ContinueTraining,
Instances.SettingsViewModel.DormThreshold / 100.0,