fix: fix SA1518 warnings

This commit is contained in:
Constrat
2026-01-06 14:32:24 +01:00
parent eac2d39834
commit 29f63322ba
2 changed files with 1 additions and 2 deletions

View File

@@ -172,4 +172,3 @@ public static class PropertyDependsOnUtility
Log.Warning("类型 {Type} 的属性 {PropertyName} 需要通知变更,但未找到 NotifyOfPropertyChange 方法", type.FullName, propertyName);
}
}

View File

@@ -846,7 +846,7 @@ public class FightSettingsUserControlModel : TaskViewModel
task.Drops.Add(DropsItemId, DropsQuantity);
}
if(HasTimesLimited is not false && Series > 0 && MaxTimes % Series != 0)
if (HasTimesLimited is not false && Series > 0 && MaxTimes % Series != 0)
{
Instances.TaskQueueViewModel.AddLog(LocalizationHelper.GetStringFormat("FightTimesMayNotExhausted", MaxTimes, Series), UiLogColor.Warning);
}