From 8992f479155a0d32a06f7c65bbaa3b098f369929 Mon Sep 17 00:00:00 2001 From: arkon Date: Wed, 29 Apr 2020 09:42:56 -0400 Subject: [PATCH] Remove unnecessary checks --- app/src/main/java/eu/kanade/tachiyomi/Migrations.kt | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/Migrations.kt b/app/src/main/java/eu/kanade/tachiyomi/Migrations.kt index 6e4f8a085b..07116f30dc 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/Migrations.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/Migrations.kt @@ -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 }