* tweaks

* opt: semantics
This commit is contained in:
My-Responsitories
2026-06-13 02:43:37 +00:00
committed by dom
parent d159488495
commit 1b3f27aa31
23 changed files with 82 additions and 193 deletions

View File

@@ -166,7 +166,7 @@ class ShutdownTimerService {
const Center(child: Text('定时关闭', style: titleStyle)),
const SizedBox(height: 10),
...{...scheduleTimeMinutes, _durationInMinutes}
.sorted((a, b) => a.compareTo(b))
.sorted(Comparable.compare)
.map(
(minutes) => ListTile(
dense: true,