opt: pages

Closes #644

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-04-09 00:22:33 +08:00
parent 850e5a199e
commit 03830533eb
12 changed files with 203 additions and 348 deletions

View File

@@ -155,9 +155,9 @@ class _HomePageState extends State<HomePage>
return StreamBuilder(
stream: _homeController.hideSearchBar
? _mainController.navSearchStreamDebounce
? _homeController.searchBarStream.stream
? _homeController.searchBarStream?.stream
.throttle(const Duration(milliseconds: 500))
: _homeController.searchBarStream.stream
: _homeController.searchBarStream?.stream
: null,
initialData: true,
builder: (BuildContext context, AsyncSnapshot snapshot) {