|
@@ -34,9 +34,6 @@ abstract class BaseThemedActivity : AppCompatActivity() {
|
|
|
fun AppCompatActivity.applyThemePreferences(preferences: PreferencesHelper) {
|
|
|
val resIds = mutableListOf<Int>()
|
|
|
when (preferences.appTheme().get()) {
|
|
|
- PreferenceValues.AppTheme.DEFAULT -> {
|
|
|
- resIds += R.style.Theme_Tachiyomi
|
|
|
- }
|
|
|
PreferenceValues.AppTheme.BLUE -> {
|
|
|
resIds += R.style.Theme_Tachiyomi_DarkBlue
|
|
|
resIds += R.style.ThemeOverlay_Tachiyomi_ColoredBars
|
|
@@ -44,9 +41,6 @@ abstract class BaseThemedActivity : AppCompatActivity() {
|
|
|
PreferenceValues.AppTheme.GREEN_APPLE -> {
|
|
|
resIds += R.style.Theme_Tachiyomi_GreenApple
|
|
|
}
|
|
|
- PreferenceValues.AppTheme.HOT_PINK -> {
|
|
|
- resIds += R.style.Theme_Tachiyomi_HotPink
|
|
|
- }
|
|
|
PreferenceValues.AppTheme.MIDNIGHT_DUSK -> {
|
|
|
resIds += R.style.Theme_Tachiyomi_MidnightDusk
|
|
|
}
|
|
@@ -56,6 +50,9 @@ abstract class BaseThemedActivity : AppCompatActivity() {
|
|
|
PreferenceValues.AppTheme.YOTSUBA -> {
|
|
|
resIds += R.style.Theme_Tachiyomi_Yotsuba
|
|
|
}
|
|
|
+ else -> {
|
|
|
+ resIds += R.style.Theme_Tachiyomi
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
if (preferences.themeDarkAmoled().get()) {
|