Initial AMOLED theme + some CardView fixes (#787)

* Initial AMOLED theme + some CardView fixes

* small fix
This commit is contained in:
Bram van de Kerkhof
2017-05-07 12:36:25 +02:00
committed by GitHub
parent 2eeac0bf8b
commit 2118434823
12 changed files with 100 additions and 5 deletions

View File

@ -32,6 +32,7 @@ interface ActivityMixin {
fun setAppTheme() {
setTheme(when (Injekt.get<PreferencesHelper>().theme()) {
2 -> R.style.Theme_Tachiyomi_Dark
3 -> R.style.Theme_Tachiyomi_Amoled
else -> R.style.Theme_Tachiyomi
})
}