From 1d014a5a940cd212fb731bedb39444070ef85d23 Mon Sep 17 00:00:00 2001 From: len Date: Sat, 19 Nov 2016 12:13:09 +0100 Subject: [PATCH] Minor fix --- .../eu/kanade/tachiyomi/ui/main/ChangelogDialogFragment.kt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/main/ChangelogDialogFragment.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/main/ChangelogDialogFragment.kt index b2f429215..526f0fc0a 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/main/ChangelogDialogFragment.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/main/ChangelogDialogFragment.kt @@ -25,8 +25,10 @@ class ChangelogDialogFragment : DialogFragment() { ChangelogDialogFragment().show(fragmentManager, "changelog") // FIXME Ugly check to restore jobs. Remove me in a few months :D - if (oldVersion < 14 && BuildConfig.INCLUDE_UPDATER && preferences.automaticUpdates()) { - UpdateCheckerJob.setupTask() + if (oldVersion < 14) { + if (BuildConfig.INCLUDE_UPDATER && preferences.automaticUpdates()) { + UpdateCheckerJob.setupTask() + } LibraryUpdateJob.setupTask() } }