fix(series): make season selector bottom sheet scrollable

Replace the non-scrollable Column with a LazyColumn in the season selector ModalBottomSheet so the sheet content scrolls when there are many seasons.
This commit is contained in:
2026-06-06 17:37:47 +00:00
parent c81b228bb2
commit 10e7b450f3

View File

@@ -12,6 +12,8 @@ import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.layout.width
import androidx.compose.foundation.lazy.LazyColumn
import androidx.compose.foundation.lazy.items
import androidx.compose.foundation.shape.RoundedCornerShape
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.outlined.ArrowBack
@@ -259,18 +261,21 @@ internal fun SeasonTabs(
ModalBottomSheet(
onDismissRequest = { showBottomSheet = false },
) {
Column(
LazyColumn(
modifier = Modifier
.fillMaxWidth()
.padding(bottom = 24.dp)
) {
item {
Text(
text = "Select Season",
style = MaterialTheme.typography.titleLarge,
color = scheme.onSurface,
modifier = Modifier.padding(horizontal = 24.dp, vertical = 8.dp)
)
seasons.forEach { season ->
}
items(seasons) { season ->
ListItem(
headlineContent = {
Text(text = season.name)