From d6523ce856f7066c35bc9df8b514a8d6b876f06c Mon Sep 17 00:00:00 2001 From: Damontecres Date: Fri, 9 Oct 2026 17:58:12 -0400 Subject: [PATCH] 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 --- .../wholphin/ui/detail/series/SeriesOverviewContent.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/github/damontecres/wholphin/ui/detail/series/SeriesOverviewContent.kt b/app/src/main/java/com/github/damontecres/wholphin/ui/detail/series/SeriesOverviewContent.kt index 5fee7b24..0759572c 100644 --- a/app/src/main/java/com/github/damontecres/wholphin/ui/detail/series/SeriesOverviewContent.kt +++ b/app/src/main/java/com/github/damontecres/wholphin/ui/detail/series/SeriesOverviewContent.kt @@ -234,7 +234,7 @@ fun SeriesOverviewContent( contentPadding = PaddingValues(horizontal = 16.dp), modifier = Modifier - .focusRestorer(firstItemFocusRequester) + .focusRestorer(episodeRowFocusRequester) // .focusRequester(episodeRowFocusRequester) .onFocusChanged { cardRowHasFocus = it.hasFocus