Cleanup fix

This commit is contained in:
skoruppa 2026-04-15 20:28:12 +02:00
parent b47e03ff53
commit 0c839f3171
2 changed files with 1 additions and 4 deletions

View file

@ -114,6 +114,7 @@ fun SeasonTabs(
val lazyListState = rememberLazyListState()
var suppressFocusSwitch by remember { mutableStateOf(false) }
var pendingSeason by remember { mutableStateOf<Int?>(null) }
LaunchedEffect(sortedSeasons, selectedSeason) {
val selectedIndex = sortedSeasons.indexOf(selectedSeason)

View file

@ -680,10 +680,6 @@ private fun AddonFilterChips(
horizontalArrangement = Arrangement.spacedBy(16.dp),
contentPadding = PaddingValues(horizontal = 8.dp, vertical = 4.dp),
modifier = Modifier
.focusRestorer {
val idx = focusedChipIndex.coerceIn(0, focusRequesters.lastIndex)
focusRequesters[idx]
}
.onFocusChanged { focusState ->
val hasFocus = focusState.hasFocus
if (hasFocus && !chipRowHasFocus && isRtl) {