mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-12-23 13:51:48 +01:00
Setting foreground extensions check to 6 hours
This commit is contained in:
parent
8d88d1a739
commit
2ce8f544f3
@ -334,7 +334,7 @@ open class MainActivity : BaseActivity(), DownloadServiceListener {
|
||||
}
|
||||
|
||||
private fun getExtensionUpdates() {
|
||||
if (Date().time >= preferences.lastExtCheck().getOrDefault() + TimeUnit.HOURS.toMillis(1)) {
|
||||
if (Date().time >= preferences.lastExtCheck().getOrDefault() + TimeUnit.HOURS.toMillis(6)) {
|
||||
GlobalScope.launch(Dispatchers.IO) {
|
||||
val preferences: PreferencesHelper by injectLazy()
|
||||
try {
|
||||
|
Loading…
Reference in New Issue
Block a user