mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-19 18:47:55 +08:00
chore: Put local function after 'return' or 'continue'
This commit is contained in:
@@ -2335,8 +2335,6 @@ namespace MaaWpfGui.ViewModels.UI
|
||||
return;
|
||||
}
|
||||
|
||||
static bool TimeLess(int lHour, int lMin, int rHour, int rMin) => (lHour != rHour) ? (lHour < rHour) : (lMin <= rMin);
|
||||
|
||||
var now = DateTime.Now;
|
||||
foreach (var plan in CustomInfrastPlanInfoList.Where(
|
||||
plan => plan.PeriodList.Any(
|
||||
@@ -2346,6 +2344,8 @@ namespace MaaWpfGui.ViewModels.UI
|
||||
CustomInfrastPlanIndex = plan.Index;
|
||||
return;
|
||||
}
|
||||
|
||||
static bool TimeLess(int lHour, int lMin, int rHour, int rMin) => (lHour != rHour) ? (lHour < rHour) : (lMin <= rMin);
|
||||
}
|
||||
|
||||
public void IncreaseCustomInfrastPlanIndex()
|
||||
|
||||
Reference in New Issue
Block a user