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

This commit is contained in:
Riztard Lanthorn 2021-03-15 03:22:10 +07:00 committed by GitHub
parent cdc5de3f1b
commit 4193870fa6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View file

@ -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"

View file

@ -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>