Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-01-23 19:50:11 +08:00
parent 7eaf05839a
commit 0ab07a713e
22 changed files with 443 additions and 470 deletions

View File

@@ -19,8 +19,7 @@ class HomeController extends GetxController
late List<HomeTabType> tabs;
late TabController tabController;
RxBool? searchBar;
final bool useSideBar = Pref.useSideBar;
RxBool? showSearchBar;
bool enableSearchWord = Pref.enableSearchWord;
late final RxString defaultSearch = ''.obs;
@@ -37,8 +36,8 @@ class HomeController extends GetxController
void onInit() {
super.onInit();
if (Pref.hideSearchBar) {
searchBar = true.obs;
if (!Pref.useSideBar && Pref.hideTopBar) {
showSearchBar = true.obs;
}
if (enableSearchWord) {