correct scrollable position when hiding top bar

Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-03-07 10:06:37 +08:00
parent fefb5c837b
commit db08af6ca5
3 changed files with 29 additions and 3 deletions

View File

@@ -25,6 +25,9 @@ class _HomePageState extends CommonPageState<HomePage>
final _homeController = Get.putOrFind(HomeController.new);
final _mainController = Get.find<MainController>();
@override
bool get needsCorrection => _homeController.hideTopBar;
@override
bool get wantKeepAlive => true;