mirror of
https://github.com/mihonapp/mihon.git
synced 2024-11-10 12:47:26 +01:00
Minor fix
This commit is contained in:
parent
2dc8159d96
commit
1d014a5a94
@ -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 New Issue
Block a user