mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-06-01 16:48:16 +08:00
@@ -32,7 +32,7 @@ class _HomePageState extends State<HomePage>
|
||||
final theme = Theme.of(context);
|
||||
return Column(
|
||||
children: [
|
||||
if (!_homeController.useSideBar &&
|
||||
if (!_mainController.useSideBar &&
|
||||
MediaQuery.sizeOf(context).isPortrait)
|
||||
customAppBar(theme),
|
||||
if (_homeController.tabs.length > 1)
|
||||
@@ -87,7 +87,7 @@ class _HomePageState extends State<HomePage>
|
||||
userAvatar(theme: theme, mainController: _mainController),
|
||||
],
|
||||
);
|
||||
if (_homeController.searchBar case final searchBar?) {
|
||||
if (_homeController.showSearchBar case final searchBar?) {
|
||||
return Obx(() {
|
||||
final showSearchBar = searchBar.value;
|
||||
return AnimatedOpacity(
|
||||
|
||||
Reference in New Issue
Block a user