Crop borders for webtoon now have a separate setting. Close #972

This commit is contained in:
inorichi
2018-04-27 16:55:12 +02:00
parent 5c31271e91
commit 18883f1ba3
7 changed files with 48 additions and 6 deletions

View File

@@ -39,6 +39,8 @@ object PreferenceKeys {
const val cropBorders = "crop_borders"
const val cropBordersWebtoon = "crop_borders_webtoon"
const val readWithTapping = "reader_tap"
const val readWithVolumeKeys = "reader_volume_keys"

View File

@@ -67,6 +67,8 @@ class PreferencesHelper(val context: Context) {
fun cropBorders() = rxPrefs.getBoolean(Keys.cropBorders, false)
fun cropBordersWebtoon() = rxPrefs.getBoolean(Keys.cropBordersWebtoon, false)
fun readWithTapping() = rxPrefs.getBoolean(Keys.readWithTapping, true)
fun readWithVolumeKeys() = rxPrefs.getBoolean(Keys.readWithVolumeKeys, false)