Преглед изворни кода

Library update freq: add 4 & 8 hours (#4557)

Riztard Lanthorn пре 4 година
родитељ
комит
4193870fa6

+ 3 - 1
app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsLibraryController.kt

@@ -126,13 +126,15 @@ class SettingsLibraryController : SettingsController() {
                     R.string.update_1hour,
                     R.string.update_2hour,
                     R.string.update_3hour,
+                    R.string.update_4hour,
                     R.string.update_6hour,
+                    R.string.update_8hour,
                     R.string.update_12hour,
                     R.string.update_24hour,
                     R.string.update_48hour,
                     R.string.update_weekly
                 )
-                entryValues = arrayOf("0", "1", "2", "3", "6", "12", "24", "48", "168")
+                entryValues = arrayOf("0", "1", "2", "3", "4", "6", "8", "12", "24", "48", "168")
                 defaultValue = "24"
                 summary = "%s"
 

+ 2 - 0
app/src/main/res/values/strings.xml

@@ -199,7 +199,9 @@
     <string name="update_1hour">Hourly</string>
     <string name="update_2hour">Every 2 hours</string>
     <string name="update_3hour">Every 3 hours</string>
+    <string name="update_4hour">Every 4 hours</string>
     <string name="update_6hour">Every 6 hours</string>
+    <string name="update_8hour">Every 8 hours</string>
     <string name="update_12hour">Every 12 hours</string>
     <string name="update_24hour">Daily</string>
     <string name="update_48hour">Every 2 days</string>