Restore dark blue theme. Closes #1302

This commit is contained in:
inorichi
2018-10-27 19:10:11 +02:00
parent ae6d052978
commit 2c4fd340c8
5 changed files with 23 additions and 5 deletions

View File

@ -50,6 +50,7 @@ class MainActivity : BaseActivity() {
setTheme(when (preferences.theme()) {
2 -> R.style.Theme_Tachiyomi_Dark
3 -> R.style.Theme_Tachiyomi_Amoled
4 -> R.style.Theme_Tachiyomi_DarkBlue
else -> R.style.Theme_Tachiyomi
})
super.onCreate(savedInstanceState)

View File

@ -52,8 +52,9 @@ class SettingsGeneralController : SettingsController() {
intListPreference {
key = Keys.theme
titleRes = R.string.pref_theme
entriesRes = arrayOf(R.string.light_theme, R.string.dark_theme, R.string.amoled_theme)
entryValues = arrayOf("1", "2", "3")
entriesRes = arrayOf(R.string.light_theme, R.string.dark_theme,
R.string.amoled_theme, R.string.darkblue_theme)
entryValues = arrayOf("1", "2", "3", "4")
defaultValue = "1"
summary = "%s"