Add automatic setting to reader settings (#5045)

This commit is contained in:
Andreas 2021-05-09 00:55:27 +02:00 committed by GitHub
parent 5069d8dee6
commit 4bfd395d9f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -94,8 +94,8 @@ class SettingsReaderController : SettingsController() {
intListPreference { intListPreference {
key = Keys.readerTheme key = Keys.readerTheme
titleRes = R.string.pref_reader_theme titleRes = R.string.pref_reader_theme
entriesRes = arrayOf(R.string.black_background, R.string.gray_background, R.string.white_background) entriesRes = arrayOf(R.string.black_background, R.string.gray_background, R.string.white_background, R.string.automatic_background)
entryValues = arrayOf("1", "2", "0") entryValues = arrayOf("1", "2", "0", "3")
defaultValue = "1" defaultValue = "1"
summary = "%s" summary = "%s"
} }