File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
presentation/src/main/java/com/madrid/presentation/screens/detailsScreen/seriesDetails Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ import com.madrid.presentation.viewModel.shared.parser.formatYearKtx
2929fun SeasonsScreen (viewModel : SeriesDetailsViewModel = hiltViewModel()) {
3030 val uiState by viewModel.state.collectAsState()
3131 val navController = LocalNavController .current
32+
3233 SeasonsScreenContent (
3334 uiState = uiState,
3435 onClickBack = { navController.popBackStack() },
@@ -62,9 +63,11 @@ fun SeasonsScreenContent(
6263 modifier = Modifier .padding(top = 36 .dp),
6364 )
6465 Spacer (Modifier .height(20 .dp))
66+
6567 val seasons = uiState.currentSeasonsUiStates
68+
6669 LazyColumn (
67- contentPadding = PaddingValues (bottom = 40 .dp)
70+ contentPadding = PaddingValues (vertical = 6 .dp)
6871 ) {
6972 items(seasons) { season ->
7073 MovioSeasonCard (
@@ -76,9 +79,9 @@ fun SeasonsScreenContent(
7679 yearOfPublish = season.productionDate.formatYearKtx(),
7780 currentSeason = season.seasonNumber.toString(),
7881 timeOfPublish = season.productionDate.formatFullDateKtx(),
79- modifier = Modifier .padding(bottom = 6 .dp)
82+ modifier = Modifier .padding(vertical = 6 .dp)
8083 )
8184 }
8285 }
8386 }
84- }
87+ }
You can’t perform that action at this time.
0 commit comments