Skip to content

Commit

Permalink
fix: crash on access to split option enum constants
Browse files Browse the repository at this point in the history
  • Loading branch information
WhiredPlanck committed Jun 14, 2024
1 parent 41e5d21 commit 1869e91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/main/java/com/osfans/trime/data/AppPrefs.kt
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ class AppPrefs(
}

val splitOption: SplitOption
get() = SplitOption.valueOf(prefs.getPref(SPLIT, SplitOption.NEVER.name))
get() = SplitOption.valueOf(prefs.getPref(SPLIT, SplitOption.NEVER.name).uppercase())
val splitSpacePercent: Int
get() = prefs.getPref(SPLIT_SPACE_PERCENT, 100)
var candidatePageSize: Int = 0
Expand Down

0 comments on commit 1869e91

Please sign in to comment.