Skip to content

Commit 792453e

Browse files
committed
fix: corrigindo sobreposição de itens pelo bottomBar
para isso foi aplicado o paddingValues, que pode acabar sendo útil em outros pontos da lista principal também
1 parent 70b950b commit 792453e

File tree

1 file changed

+2
-1
lines changed
  • feature-list-streams/src/main/java/com/codandotv/streamplayerapp/feature_list_streams/list/presentation/screens

1 file changed

+2
-1
lines changed

feature-list-streams/src/main/java/com/codandotv/streamplayerapp/feature_list_streams/list/presentation/screens/ListStreamsScreen.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,10 @@ fun ListStreamsScreen(
6161
bottomBar = {
6262
StreamPlayerBottomNavigation(navController = navController)
6363
}
64-
) { _ ->
64+
) { paddingValues ->
6565
Box(
6666
modifier = Modifier
67+
.padding(paddingValues)
6768
.fillMaxSize()
6869
.background(MaterialTheme.colorScheme.background)
6970
) {

0 commit comments

Comments
 (0)