fix(settings): Back from Favorites returns to its row; use US spelling #31
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/favorites-back"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.ReleaseParserTestkeeps the old spelling because it checks text from a published release-notes fixture.Verified
testDebugUnitTestandlintDebugpass.