mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-13 07:15:10 +01:00
add ability to adjust side padding in main reader settings
This commit is contained in:
parent
f331b24386
commit
a47704071b
@ -115,6 +115,18 @@ class SettingsReaderController : SettingsController() {
|
|||||||
titleRes = R.string.crop_borders
|
titleRes = R.string.crop_borders
|
||||||
defaultValue = false
|
defaultValue = false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
intListPreference(activity) {
|
||||||
|
key = Keys.webtoonSidePadding
|
||||||
|
titleRes = R.string.pref_webtoon_side_padding
|
||||||
|
entriesRes = arrayOf(
|
||||||
|
R.string.webtoon_side_padding_0,
|
||||||
|
R.string.webtoon_side_padding_10, R.string.webtoon_side_padding_15,
|
||||||
|
R.string.webtoon_side_padding_20, R.string.webtoon_side_padding_25
|
||||||
|
)
|
||||||
|
entryValues = listOf(0, 10, 15, 20, 25)
|
||||||
|
defaultValue = "0"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
preferenceCategory {
|
preferenceCategory {
|
||||||
titleRes = R.string.navigation
|
titleRes = R.string.navigation
|
||||||
|
Loading…
Reference in New Issue
Block a user