Эх сурвалжийг харах

Add weekly to library update frequency options (closes #4422)

arkon 4 жил өмнө
parent
commit
aa67229daf

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

@@ -129,9 +129,10 @@ class SettingsLibraryController : SettingsController() {
                     R.string.update_6hour,
                     R.string.update_12hour,
                     R.string.update_24hour,
-                    R.string.update_48hour
+                    R.string.update_48hour,
+                    R.string.update_weekly
                 )
-                entryValues = arrayOf("0", "1", "2", "3", "6", "12", "24", "48")
+                entryValues = arrayOf("0", "1", "2", "3", "6", "12", "24", "48", "168")
                 defaultValue = "24"
                 summary = "%s"
 

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

@@ -204,7 +204,6 @@
     <string name="update_24hour">Daily</string>
     <string name="update_48hour">Every 2 days</string>
     <string name="update_weekly">Weekly</string>
-    <string name="update_monthly">Monthly</string>
     <string name="pref_library_update_prioritization">Library update order</string>
     <string name="pref_library_update_restriction">Library update restrictions</string>
     <string name="pref_library_update_restriction_summary">Update only when the conditions are met</string>