Skip to content

Commit

Permalink
fix bug that was causing crash when setting r18
Browse files Browse the repository at this point in the history
  • Loading branch information
nonproto committed Apr 12, 2019
1 parent a9824bd commit 68368bc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class PreferencesHelper(val context: Context) {

fun showPageNumber() = rxPrefs.getBoolean(Keys.showPageNumber, true)

fun r18() = prefs.getInt(Keys.showR18, 0)
fun r18() = prefs.getString(Keys.showR18, "0")


fun trueColor() = rxPrefs.getBoolean(Keys.trueColor, false)
Expand Down

0 comments on commit 68368bc

Please sign in to comment.