fix: sync will refresh the entire app (#877)

This commit is contained in:
lollipopkit🏳️‍⚧️
2025-09-01 01:18:06 +08:00
committed by GitHub
parent 3b7fdf36fb
commit 56e67f4725
7 changed files with 54 additions and 30 deletions

View File

@@ -22,7 +22,7 @@ class HomePage extends ConsumerStatefulWidget {
}
class _HomePageState extends ConsumerState<HomePage>
with AutomaticKeepAliveClientMixin, AfterLayoutMixin, WidgetsBindingObserver {
with AutomaticKeepAliveClientMixin, AfterLayoutMixin, WidgetsBindingObserver, GlobalRef {
late final PageController _pageController;
final _selectIndex = ValueNotifier(0);