fix: preserve home screen scroll position on back navigation

This commit is contained in:
edde746
2026-03-04 16:34:36 +01:00
parent 8b57e810ab
commit e6ee83d9c2
4 changed files with 7 additions and 8 deletions
+1 -1
View File
@@ -3,6 +3,6 @@
/// Used by MainScreen to pause expensive work (e.g. animation tickers)
/// when the screen's tab is no longer visible, and resume it when shown again.
mixin TabVisibilityAware {
void onTabShown();
void onTabShown({bool scrollToTop = true});
void onTabHidden();
}