Fixes restoring focus on the correct episode (#2051)
## Description On the series overview page, if you play the second or third episode, then return to the page, focus will move the first episode. This did not happen in `v1.0.7` and the code for that page was minimally changed, so I think this was caused by updating the compose version, maybe the ordering on focus resolution or something. This small change seems to reliably fix the issue though. ### Related issues Fixes #2043 ### Testing Emulator ## Screenshots N/A ## AI or LLM usage None
This commit is contained in:
parent
e23c446bb7
commit
d6523ce856
1 changed files with 1 additions and 1 deletions
|
|
@ -234,7 +234,7 @@ fun SeriesOverviewContent(
|
|||
contentPadding = PaddingValues(horizontal = 16.dp),
|
||||
modifier =
|
||||
Modifier
|
||||
.focusRestorer(firstItemFocusRequester)
|
||||
.focusRestorer(episodeRowFocusRequester)
|
||||
// .focusRequester(episodeRowFocusRequester)
|
||||
.onFocusChanged {
|
||||
cardRowHasFocus = it.hasFocus
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue