feat: add configurable main page back behavior (#870)

* feat: add configurable main page back behavior

Add setting to control whether back button exits directly or returns to first tab

* update

---------

Co-authored-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
6v
2025-06-26 11:40:44 +08:00
committed by GitHub
parent 0264a4c01f
commit 7886a901a3
5 changed files with 33 additions and 8 deletions

View File

@@ -719,4 +719,7 @@ class Pref {
static bool get continuePlayInBackground =>
_setting.get(SettingBoxKey.continuePlayInBackground, defaultValue: false);
static bool get directExitOnBack =>
_setting.get(SettingBoxKey.directExitOnBack, defaultValue: false);
}