mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-10 02:05:09 +01:00
Daily library updates are now the default for new users
This commit is contained in:
parent
575c1f0f70
commit
879a9c735c
@ -29,6 +29,7 @@ object Migrations {
|
|||||||
UpdaterJob.setupTask()
|
UpdaterJob.setupTask()
|
||||||
}
|
}
|
||||||
ExtensionUpdateJob.setupTask()
|
ExtensionUpdateJob.setupTask()
|
||||||
|
LibraryUpdateJob.setupTask()
|
||||||
return BuildConfig.DEBUG
|
return BuildConfig.DEBUG
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -165,7 +165,7 @@ class PreferencesHelper(val context: Context) {
|
|||||||
|
|
||||||
fun removeAfterMarkedAsRead() = prefs.getBoolean(Keys.removeAfterMarkedAsRead, false)
|
fun removeAfterMarkedAsRead() = prefs.getBoolean(Keys.removeAfterMarkedAsRead, false)
|
||||||
|
|
||||||
fun libraryUpdateInterval() = rxPrefs.getInteger(Keys.libraryUpdateInterval, 0)
|
fun libraryUpdateInterval() = rxPrefs.getInteger(Keys.libraryUpdateInterval, 24)
|
||||||
|
|
||||||
fun libraryUpdateRestriction() = prefs.getStringSet(Keys.libraryUpdateRestriction, emptySet())
|
fun libraryUpdateRestriction() = prefs.getStringSet(Keys.libraryUpdateRestriction, emptySet())
|
||||||
|
|
||||||
|
@ -77,7 +77,7 @@ class SettingsLibraryController : SettingsController() {
|
|||||||
R.string.every_2_days
|
R.string.every_2_days
|
||||||
)
|
)
|
||||||
entryValues = listOf(0, 1, 2, 3, 6, 12, 24, 48)
|
entryValues = listOf(0, 1, 2, 3, 6, 12, 24, 48)
|
||||||
defaultValue = 0
|
defaultValue = 24
|
||||||
|
|
||||||
onChange { newValue ->
|
onChange { newValue ->
|
||||||
// Always cancel the previous task, it seems that sometimes they are not updated.
|
// Always cancel the previous task, it seems that sometimes they are not updated.
|
||||||
|
Loading…
Reference in New Issue
Block a user