Removes the flickering on chat screens when the bottom bar disappears.

This commit is contained in:
Vitor Pamplona
2023-09-21 10:32:06 -04:00
parent 6638ae1d7b
commit 27f37fc158

View File

@@ -292,7 +292,7 @@ fun MainScreen(
) { ) {
Column( Column(
modifier = Modifier modifier = Modifier
.padding(bottom = if (shouldShow.value) it.calculateBottomPadding() else 0.dp) .padding(bottom = it.calculateBottomPadding())
) { ) {
AppNavigation( AppNavigation(
homeFeedViewModel = homeFeedViewModel, homeFeedViewModel = homeFeedViewModel,