mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-29 12:38:34 +00: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) {
|
Widget customAppBar(ThemeData theme) {
|
||||||
if (!_homeController.hideSearchBar) {
|
if (!_homeController.hideSearchBar) {
|
||||||
return searchBarAndUser(theme);
|
return Container(
|
||||||
|
height: 52,
|
||||||
|
padding: const EdgeInsets.fromLTRB(14, 6, 14, 0),
|
||||||
|
child: searchBarAndUser(theme),
|
||||||
|
);
|
||||||
}
|
}
|
||||||
return StreamBuilder(
|
return StreamBuilder(
|
||||||
stream: _homeController.searchBarStream?.stream.distinct(),
|
stream: _homeController.searchBarStream?.stream.distinct(),
|
||||||
|
|||||||
Reference in New Issue
Block a user