diff --git a/app/shared/src/commonMain/kotlin/dev/datlag/burningseries/ui/screen/initial/InitialScreen.kt b/app/shared/src/commonMain/kotlin/dev/datlag/burningseries/ui/screen/initial/InitialScreen.kt index f57121bd..9fd2a112 100644 --- a/app/shared/src/commonMain/kotlin/dev/datlag/burningseries/ui/screen/initial/InitialScreen.kt +++ b/app/shared/src/commonMain/kotlin/dev/datlag/burningseries/ui/screen/initial/InitialScreen.kt @@ -39,7 +39,6 @@ private fun CompactScreen( var selectedPage by remember { mutableIntStateOf(0) } Scaffold( - modifier = Modifier.safeDrawingPadding(), bottomBar = { NavigationBar { component.pagerItems.forEachIndexed { index, item -> @@ -82,7 +81,6 @@ private fun MediumScreen( var selectedPage by remember { mutableIntStateOf(0) } Scaffold( - modifier = Modifier.safeDrawingPadding(), ) { Row(modifier = Modifier.padding(it)) { NavigationRail { @@ -123,7 +121,6 @@ private fun ExpandedScreen( var selectedPage by remember { mutableIntStateOf(0) } Scaffold( - modifier = Modifier.safeDrawingPadding(), ) { PermanentNavigationDrawer( modifier = Modifier.padding(it), diff --git a/app/shared/src/commonMain/kotlin/dev/datlag/burningseries/ui/screen/initial/series/SeriesScreen.kt b/app/shared/src/commonMain/kotlin/dev/datlag/burningseries/ui/screen/initial/series/SeriesScreen.kt index eb162f78..bf6de256 100644 --- a/app/shared/src/commonMain/kotlin/dev/datlag/burningseries/ui/screen/initial/series/SeriesScreen.kt +++ b/app/shared/src/commonMain/kotlin/dev/datlag/burningseries/ui/screen/initial/series/SeriesScreen.kt @@ -124,14 +124,7 @@ private fun CompactScreen(component: SeriesComponent) { LazyColumn( modifier = Modifier.fillMaxWidth() ) { - item( - key = { - listOf( - current.series.seasons, - current.series.languages - ) - } - ) { + item { SeasonAndLanguageButtons( current.series.currentSeason, current.series.currentLanguage, @@ -167,14 +160,7 @@ private fun DefaultScreen(component: SeriesComponent) { modifier = Modifier.fillMaxWidth(), contentPadding = PaddingValues(16.dp) ) { - item( - key = { - listOf( - current.series.seasons, - current.series.languages - ) - } - ) { + item { Row( modifier = Modifier.fillMaxWidth(), verticalAlignment = Alignment.CenterVertically,