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

@@ -46,6 +46,8 @@ class MainController extends GetxController
late bool navSearchStreamDebounce = Pref.navSearchStreamDebounce;
late final optTabletNav = Pref.optTabletNav;
late bool directExitOnBack = Pref.directExitOnBack;
@override
void onInit() {
super.onInit();