Browse Source

Rearrange themes, rename "Blue" to "Legacy Blue"

arkon 3 years ago
parent
commit
069f4e12d8

+ 1 - 1
app/src/main/java/eu/kanade/tachiyomi/data/download/DownloadNotifier.kt

@@ -52,7 +52,7 @@ internal class DownloadNotifier(private val context: Context) {
     /**
      * Updated when error is thrown
      */
-    var errorThrown = false
+    private var errorThrown = false
 
     /**
      * Updated when paused

+ 5 - 5
app/src/main/java/eu/kanade/tachiyomi/data/preference/PreferenceValues.kt

@@ -24,14 +24,14 @@ object PreferenceValues {
     enum class AppTheme(val titleResId: Int?) {
         DEFAULT(R.string.label_default),
         MONET(R.string.theme_monet),
-        BLUE(R.string.theme_blue),
-        GREEN_APPLE(R.string.theme_greenapple),
         MIDNIGHT_DUSK(R.string.theme_midnightdusk),
         STRAWBERRY_DAIQUIRI(R.string.theme_strawberrydaiquiri),
+        YOTSUBA(R.string.theme_yotsuba),
         TAKO(R.string.theme_tako),
+        GREEN_APPLE(R.string.theme_greenapple),
         TEALTURQUOISE(R.string.theme_tealturquoise),
         YINYANG(R.string.theme_yinyang),
-        YOTSUBA(R.string.theme_yotsuba),
+        BLUE(R.string.theme_blue),
 
         // Deprecated
         DARK_BLUE(null),
@@ -49,12 +49,12 @@ object PreferenceValues {
         HIGHEST(5),
         HIGH(13),
         LOW(31),
-        LOWEST(47)
+        LOWEST(47),
     }
 
     enum class TabletUiMode {
         ALWAYS,
         LANDSCAPE,
-        NEVER
+        NEVER,
     }
 }

+ 1 - 1
app/src/main/res/values/strings.xml

@@ -150,7 +150,7 @@
     <string name="theme_dark">On</string>
     <string name="pref_app_theme">App theme</string>
     <string name="theme_monet">Dynamic</string>
-    <string name="theme_blue">Blue</string>
+    <string name="theme_blue">Legacy Blue</string>
     <string name="theme_greenapple">Green Apple</string>
     <string name="theme_midnightdusk">Midnight Dusk</string>
     <string name="theme_strawberrydaiquiri">Strawberry Daiquiri</string>