mirror of
https://github.com/mihonapp/mihon.git
synced 2024-11-07 19:27:25 +01:00
Post updater notification before starting downloads
This commit is contained in:
parent
41397ab41d
commit
d8fa7bc9d2
@ -276,10 +276,10 @@ class LibraryUpdateService : Service() {
|
|||||||
if (newUpdates.isEmpty()) {
|
if (newUpdates.isEmpty()) {
|
||||||
cancelNotification()
|
cancelNotification()
|
||||||
} else {
|
} else {
|
||||||
|
showResultNotification(newUpdates, failedUpdates)
|
||||||
if (preferences.downloadNew()) {
|
if (preferences.downloadNew()) {
|
||||||
DownloadService.start(this)
|
DownloadService.start(this)
|
||||||
}
|
}
|
||||||
showResultNotification(newUpdates, failedUpdates)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user