Skip to content

Commit

Permalink
Sort vocab practice types, make flashcard practice default
Browse files Browse the repository at this point in the history
  • Loading branch information
syt0r committed Jul 16, 2024
1 parent 7c23d18 commit bd6c294
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ class DefaultPracticeUserPreferencesRepository(
registerProperty {
createEnumProperty(
key = "vocab_practice_type",
initialValueProvider = { PreferencesVocabPracticeType.ReadingPicker }
initialValueProvider = { PreferencesVocabPracticeType.Flashcard }
)
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@ enum class VocabPracticeType(
override val titleResolver: StringResolveScope<String>
) : DisplayableEnum {

ReadingPicker(
preferencesType = PreferencesVocabPracticeType.ReadingPicker,
titleResolver = { vocabPractice.practiceTypeReadingPicker }
),
Flashcard(
preferencesType = PreferencesVocabPracticeType.Flashcard,
titleResolver = { vocabPractice.practiceTypeFlashcard }
),
ReadingPicker(
preferencesType = PreferencesVocabPracticeType.ReadingPicker,
titleResolver = { vocabPractice.practiceTypeReadingPicker }
),
Writing(
preferencesType = PreferencesVocabPracticeType.Writing,
titleResolver = { vocabPractice.practiceTypeWriting }
Expand Down

0 comments on commit bd6c294

Please sign in to comment.