mirror of
https://git.mihon.tech/mihonapp/mihon
synced 2024-11-23 05:35:51 +03:00
Remove unnecessary checks
This commit is contained in:
parent
fe65f4d6f8
commit
8992f47915
1 changed files with 2 additions and 6 deletions
|
@ -33,9 +33,7 @@ object Migrations {
|
|||
if (BuildConfig.INCLUDE_UPDATER) {
|
||||
UpdaterJob.setupTask(context)
|
||||
}
|
||||
if (preferences.automaticExtUpdates().get()) {
|
||||
ExtensionUpdateJob.setupTask(context)
|
||||
}
|
||||
ExtensionUpdateJob.setupTask(context)
|
||||
return false
|
||||
}
|
||||
|
||||
|
@ -81,9 +79,7 @@ object Migrations {
|
|||
BackupCreatorJob.setupTask(context)
|
||||
|
||||
// New extension update check job
|
||||
if (preferences.automaticExtUpdates().get()) {
|
||||
ExtensionUpdateJob.setupTask(context)
|
||||
}
|
||||
ExtensionUpdateJob.setupTask(context)
|
||||
}
|
||||
return true
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue