* tweak

* opt: show bar

* opt: crc32

* opt: appsign

* opt: Get

* opt: compress only if large

* opt: wbi

* tweak

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>

---------

Signed-off-by: My-Responsitories <107370289+My-Responsitories@users.noreply.github.com>
Co-authored-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
My-Responsitories
2025-12-23 12:57:19 +08:00
committed by GitHub
parent 31e5692dff
commit 521ca3ad18
31 changed files with 165 additions and 210 deletions

View File

@@ -19,8 +19,7 @@ class HomeController extends GetxController
late List<HomeTabType> tabs;
late TabController tabController;
StreamController<bool>? searchBarStream;
final bool hideSearchBar = Pref.hideSearchBar;
RxBool? searchBar;
final bool useSideBar = Pref.useSideBar;
bool enableSearchWord = Pref.enableSearchWord;
@@ -38,8 +37,8 @@ class HomeController extends GetxController
void onInit() {
super.onInit();
if (hideSearchBar) {
searchBarStream = StreamController<bool>.broadcast();
if (Pref.hideSearchBar) {
searchBar = true.obs;
}
if (enableSearchWord) {
@@ -90,10 +89,4 @@ class HomeController extends GetxController
}
} catch (_) {}
}
@override
void onClose() {
searchBarStream?.close();
super.onClose();
}
}