Minor fix

This commit is contained in:
len 2016-11-19 12:13:09 +01:00
parent 2dc8159d96
commit 1d014a5a94

View File

@ -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()) {
if (oldVersion < 14) {
if (BuildConfig.INCLUDE_UPDATER && preferences.automaticUpdates()) {
UpdateCheckerJob.setupTask()
}
LibraryUpdateJob.setupTask()
}
}