fix(settings): Back from Favorites returns to its row; use US spelling #31

Merged
namillis merged 1 commit from fix/favorites-back into main 2026-11-06 15:39:08 +00:00
Owner

What was wrong

From Settings → Manage favorites, pressing Back returned to Settings but put focus on the top bar instead of the list. The next Back then went to Home, so it felt like Back jumped straight to the top menu. Providers had the same problem.

Settings always tried to focus its first row (Stream format) when it appeared. Coming back from a sub-screen, the list keeps its scroll position, so that row was off screen and focus fell to the bar.

What changed

  • SettingsScreen.kt: Settings remembers whether it opened Favorites or Providers (rememberSaveable) and focuses that row when you come back. Opening Settings normally still focuses the first row.
  • US spelling: favourite/favourites → favorite/favorites across the UI, code, tests and README. No stored data used the old spelling, so nothing migrates. ReleaseParserTest keeps the old spelling because it checks text from a published release-notes fixture.

Verified

  • testDebugUnitTest and lintDebug pass.
  • On the LiveWireTV_API34 emulator: Settings → Manage favorites → Back lands on the Manage favorites row; Settings → Manage providers → Back lands on the Manage providers row.
## What was wrong From Settings → Manage favorites, pressing Back returned to Settings but put focus on the top bar instead of the list. The next Back then went to Home, so it felt like Back jumped straight to the top menu. Providers had the same problem. Settings always tried to focus its first row (Stream format) when it appeared. Coming back from a sub-screen, the list keeps its scroll position, so that row was off screen and focus fell to the bar. ## What changed - `SettingsScreen.kt`: Settings remembers whether it opened Favorites or Providers (`rememberSaveable`) and focuses that row when you come back. Opening Settings normally still focuses the first row. - US spelling: favourite/favourites → favorite/favorites across the UI, code, tests and README. No stored data used the old spelling, so nothing migrates. `ReleaseParserTest` keeps the old spelling because it checks text from a published release-notes fixture. ## Verified - `testDebugUnitTest` and `lintDebug` pass. - On the LiveWireTV_API34 emulator: Settings → Manage favorites → Back lands on the Manage favorites row; Settings → Manage providers → Back lands on the Manage providers row.
fix(settings): Back from Favorites returns to its row; use US spelling
All checks were successful
CI / test (pull_request) Successful in 7m12s
bc028a0bb7
Coming back from Favorites or Providers, Settings tried to focus its first
row, which the restored scroll had pushed off screen. Focus fell to the top
bar instead, so the next Back left Settings for Home. Settings now
remembers which sub-screen it opened and focuses that row on return.

Also switch favourite/favourites to favorite/favorites across the UI,
code and README. Nothing persisted used the British spelling.
namillis deleted branch fix/favorites-back 2026-11-06 15:39:09 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
namillis/LiveWireTV!31
No description provided.