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() } }