mirror of
https://github.com/aniyomiorg/aniyomi.git
synced 2024-11-26 23:18:17 +03:00
Subscribe to download queue state changes in UpdatesScreen
This commit is contained in:
parent
e2abf283fe
commit
90325d48aa
1 changed files with 2 additions and 1 deletions
|
@ -81,7 +81,8 @@ class UpdatesScreenModel(
|
|||
combine(
|
||||
getUpdates.subscribe(calendar).distinctUntilChanged(),
|
||||
downloadCache.changes,
|
||||
) { updates, _ -> updates }
|
||||
downloadManager.queueState,
|
||||
) { updates, _, _ -> updates }
|
||||
.catch {
|
||||
logcat(LogPriority.ERROR, it)
|
||||
_events.send(Event.InternalError)
|
||||
|
|
Loading…
Reference in a new issue