Disables top bar reappearance to avoid the feed moving when coming back from page to page.
This commit is contained in:
@@ -34,8 +34,6 @@ import com.vitorpamplona.amethyst.ui.screen.loggedIn.AccountViewModel
|
||||
import com.vitorpamplona.amethyst.ui.theme.DividerThickness
|
||||
import com.vitorpamplona.myapplication.DisappearingBottomBar
|
||||
import com.vitorpamplona.myapplication.DisappearingFloatingButton
|
||||
import com.vitorpamplona.myapplication.DisappearingTopBar
|
||||
import com.vitorpamplona.myapplication.enterAlwaysScrollBehavior
|
||||
|
||||
@OptIn(ExperimentalMaterial3Api::class)
|
||||
@Composable
|
||||
|
||||
@@ -58,7 +58,7 @@ fun DisappearingTopBar(
|
||||
scrollBehavior: CustomEnterAlwaysScrollBehavior,
|
||||
content: @Composable (ColumnScope.() -> Unit),
|
||||
) {
|
||||
ResetDisappearingOnResume(scrollBehavior)
|
||||
// ResetDisappearingOnResume(scrollBehavior)
|
||||
|
||||
// Set up support for resizing the top app bar when vertically dragging the bar itself.
|
||||
val appBarDragModifier =
|
||||
|
||||
Reference in New Issue
Block a user