mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
opt search bar
Closes #971 Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -149,7 +149,11 @@ class _HomePageState extends State<HomePage>
|
||||
|
||||
Widget customAppBar(ThemeData theme) {
|
||||
if (!_homeController.hideSearchBar) {
|
||||
return searchBarAndUser(theme);
|
||||
return Container(
|
||||
height: 52,
|
||||
padding: const EdgeInsets.fromLTRB(14, 6, 14, 0),
|
||||
child: searchBarAndUser(theme),
|
||||
);
|
||||
}
|
||||
return StreamBuilder(
|
||||
stream: _homeController.searchBarStream?.stream.distinct(),
|
||||
|
||||
Reference in New Issue
Block a user