Temporarily unrevert crop borders unification (closes #3487)

Reverts 1920568057
This commit is contained in:
arkon
2020-07-31 14:59:34 -04:00
parent ccc0a61158
commit 6a5af438dd
8 changed files with 50 additions and 22 deletions

View File

@@ -51,6 +51,8 @@ object PreferenceKeys {
const val cropBorders = "crop_borders"
const val cropBordersWebtoon = "crop_borders_webtoon"
const val readWithTapping = "reader_tap"
const val readWithTappingInverted = "reader_tapping_inverted"

View File

@@ -119,6 +119,8 @@ class PreferencesHelper(val context: Context) {
fun cropBorders() = flowPrefs.getBoolean(Keys.cropBorders, false)
fun cropBordersWebtoon() = flowPrefs.getBoolean(Keys.cropBordersWebtoon, false)
fun webtoonSidePadding() = flowPrefs.getInt(Keys.webtoonSidePadding, 0)
fun readWithTapping() = flowPrefs.getBoolean(Keys.readWithTapping, true)