mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-12-22 14:51:49 +01:00
Remove unnecessary checks
This commit is contained in:
parent
fe65f4d6f8
commit
8992f47915
@ -33,9 +33,7 @@ object Migrations {
|
||||
if (BuildConfig.INCLUDE_UPDATER) {
|
||||
UpdaterJob.setupTask(context)
|
||||
}
|
||||
if (preferences.automaticExtUpdates().get()) {
|
||||
ExtensionUpdateJob.setupTask(context)
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
@ -81,10 +79,8 @@ object Migrations {
|
||||
BackupCreatorJob.setupTask(context)
|
||||
|
||||
// New extension update check job
|
||||
if (preferences.automaticExtUpdates().get()) {
|
||||
ExtensionUpdateJob.setupTask(context)
|
||||
}
|
||||
}
|
||||
return true
|
||||
}
|
||||
return false
|
||||
|
Loading…
Reference in New Issue
Block a user