Skip to content

Only scrolls to a newly added Category after immediately adding it (in Settings)#564

Merged
Sashank Patel (SashankPatel) merged 2 commits intomainfrom
532-edit-category-settings-page
Feb 12, 2026
Merged

Only scrolls to a newly added Category after immediately adding it (in Settings)#564
Sashank Patel (SashankPatel) merged 2 commits intomainfrom
532-edit-category-settings-page

Conversation

@cinadia
Copy link
Copy Markdown
Contributor

Description:
Resets lastViewedIndex to 0 if a new category was not just recently added. This means that the "Categories and Phrases" settings page only automatically scrolls to a newly added Category one time: after immediately adding the new Category. If a new Category was not just added, the "Categories and Phrases" settings page brings the user to the first page.

Also added ViewModel tests.

Resolves #532

  • Acceptance Criteria satisfied
  • Regression Testing

@SashankPatel Sashank Patel (SashankPatel) deleted the 532-edit-category-settings-page branch February 12, 2026 19:00
@github-project-automation github-project-automation Bot moved this from In progress to Done in Vocable-Android Feb 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Adding a new category defaults Categories settings to last page

3 participants