From 575c1f0f70c626e14962aec06b760686f75c9939 Mon Sep 17 00:00:00 2001 From: Jay Date: Thu, 30 Apr 2020 19:09:11 -0400 Subject: [PATCH] Enabled auto check for exts by default --- app/src/main/java/eu/kanade/tachiyomi/Migrations.kt | 1 + .../eu/kanade/tachiyomi/data/preference/PreferencesHelper.kt | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/Migrations.kt b/app/src/main/java/eu/kanade/tachiyomi/Migrations.kt index f7e1ac4c99..0877ef7b67 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/Migrations.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/Migrations.kt @@ -28,6 +28,7 @@ object Migrations { if (BuildConfig.INCLUDE_UPDATER && preferences.automaticUpdates()) { UpdaterJob.setupTask() } + ExtensionUpdateJob.setupTask() return BuildConfig.DEBUG } diff --git a/app/src/main/java/eu/kanade/tachiyomi/data/preference/PreferencesHelper.kt b/app/src/main/java/eu/kanade/tachiyomi/data/preference/PreferencesHelper.kt index 2fdf9dfe53..43024c38ac 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/data/preference/PreferencesHelper.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/data/preference/PreferencesHelper.kt @@ -203,7 +203,7 @@ class PreferencesHelper(val context: Context) { fun automaticUpdates() = prefs.getBoolean(Keys.automaticUpdates, true) - fun automaticExtUpdates() = rxPrefs.getBoolean(Keys.automaticExtUpdates, false) + fun automaticExtUpdates() = rxPrefs.getBoolean(Keys.automaticExtUpdates, true) fun collapsedCategories() = rxPrefs.getStringSet("collapsed_categories", mutableSetOf())