Default reader theme to black
This commit is contained in:
parent
0375c0b2c5
commit
c784d24fa6
@ -101,7 +101,7 @@ class PreferencesHelper(val context: Context) {
|
|||||||
|
|
||||||
fun zoomStart() = rxPrefs.getInteger(Keys.zoomStart, 1)
|
fun zoomStart() = rxPrefs.getInteger(Keys.zoomStart, 1)
|
||||||
|
|
||||||
fun readerTheme() = rxPrefs.getInteger(Keys.readerTheme, 0)
|
fun readerTheme() = rxPrefs.getInteger(Keys.readerTheme, 1)
|
||||||
|
|
||||||
fun cropBorders() = rxPrefs.getBoolean(Keys.cropBorders, false)
|
fun cropBorders() = rxPrefs.getBoolean(Keys.cropBorders, false)
|
||||||
|
|
||||||
|
@ -61,7 +61,7 @@ class SettingsReaderController : SettingsController() {
|
|||||||
titleRes = R.string.pref_reader_theme
|
titleRes = R.string.pref_reader_theme
|
||||||
entriesRes = arrayOf(R.string.white_background, R.string.black_background)
|
entriesRes = arrayOf(R.string.white_background, R.string.black_background)
|
||||||
entryValues = arrayOf("0", "1")
|
entryValues = arrayOf("0", "1")
|
||||||
defaultValue = "0"
|
defaultValue = "1"
|
||||||
summary = "%s"
|
summary = "%s"
|
||||||
}
|
}
|
||||||
intListPreference {
|
intListPreference {
|
||||||
|
Loading…
Reference in New Issue
Block a user