Cleanup fix
This commit is contained in:
parent
b47e03ff53
commit
0c839f3171
2 changed files with 1 additions and 4 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue