mirror of
https://github.com/mihonapp/mihon.git
synced 2024-11-21 20:47:03 -05:00
Minor fix
This commit is contained in:
parent
2dc8159d96
commit
1d014a5a94
1 changed files with 4 additions and 2 deletions
|
@ -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()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue