mirror of
https://git.mihon.tech/mihonapp/mihon
synced 2024-11-27 09:44:55 +03: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()) {
|
||||
if (oldVersion < 14) {
|
||||
if (BuildConfig.INCLUDE_UPDATER && preferences.automaticUpdates()) {
|
||||
UpdateCheckerJob.setupTask()
|
||||
}
|
||||
LibraryUpdateJob.setupTask()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue