Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-06-19 11:29:03 +08:00
parent 5644e9a0e1
commit 6f48a97b4b
23 changed files with 1058 additions and 951 deletions

View File

@@ -45,8 +45,8 @@ class ShutdownTimerService with WidgetsBindingObserver {
return;
}
SmartDialog.showToast("设置 $scheduledExitInMinutes 分钟后定时关闭");
_shutdownTimer = Timer(
Duration(minutes: scheduledExitInMinutes), () => _shutdownDecider());
_shutdownTimer =
Timer(Duration(minutes: scheduledExitInMinutes), _shutdownDecider);
}
void _showTimeUpButPauseDialog() {