Skip to content

Commit 3405322

Browse files
committed
refactor(study-options): add StudyOptionsViewModel with state management
- Extract business logic from StudyOptionsFragment into a dedicated ViewModel. - Introduces DeckStudyData, StudyOptionsState sealed interface, and moves collection queries and deck operations (rebuild, empty, unbury) into the ViewModel. - refactor(study-options): wire StudyOptionsFragment to use ViewModel - test(study-options): add unit tests for StudyOptionsViewModel
1 parent ff8e408 commit 3405322

4 files changed

Lines changed: 708 additions & 216 deletions

File tree

0 commit comments

Comments
 (0)