pause on minimize

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-09-27 15:04:15 +08:00
parent 670f788558
commit 7fedfb8963
5 changed files with 52 additions and 1 deletions

View File

@@ -59,6 +59,8 @@ class MainController extends GetxController
late bool directExitOnBack = Pref.directExitOnBack;
late bool minimizeOnExit = Pref.minimizeOnExit;
late bool pauseOnMinimize = Pref.pauseOnMinimize;
late bool isPlaying = false;
static const _period = 5 * 60 * 1000;
late int _lastSelectTime = 0;