Disables top bar reappearance to avoid the feed moving when coming back from page to page.

This commit is contained in:
Vitor Pamplona
2026-01-06 18:06:24 -05:00
parent 3c85220c7c
commit f33e2fbcfb
2 changed files with 1 additions and 3 deletions
@@ -34,8 +34,6 @@ import com.vitorpamplona.amethyst.ui.screen.loggedIn.AccountViewModel
import com.vitorpamplona.amethyst.ui.theme.DividerThickness import com.vitorpamplona.amethyst.ui.theme.DividerThickness
import com.vitorpamplona.myapplication.DisappearingBottomBar import com.vitorpamplona.myapplication.DisappearingBottomBar
import com.vitorpamplona.myapplication.DisappearingFloatingButton import com.vitorpamplona.myapplication.DisappearingFloatingButton
import com.vitorpamplona.myapplication.DisappearingTopBar
import com.vitorpamplona.myapplication.enterAlwaysScrollBehavior
@OptIn(ExperimentalMaterial3Api::class) @OptIn(ExperimentalMaterial3Api::class)
@Composable @Composable
@@ -58,7 +58,7 @@ fun DisappearingTopBar(
scrollBehavior: CustomEnterAlwaysScrollBehavior, scrollBehavior: CustomEnterAlwaysScrollBehavior,
content: @Composable (ColumnScope.() -> Unit), content: @Composable (ColumnScope.() -> Unit),
) { ) {
ResetDisappearingOnResume(scrollBehavior) // ResetDisappearingOnResume(scrollBehavior)
// Set up support for resizing the top app bar when vertically dragging the bar itself. // Set up support for resizing the top app bar when vertically dragging the bar itself.
val appBarDragModifier = val appBarDragModifier =