Subscribe to download queue state changes in UpdatesScreen
(cherry picked from commit 90325d48aa85a3860e108ef85b50a24ace6e09c3)
This commit is contained in:
parent
90e63363c2
commit
5de1bf0bdc
1 changed files with 2 additions and 1 deletions
|
|
@ -91,7 +91,8 @@ class UpdatesScreenModel(
|
||||||
combine(
|
combine(
|
||||||
getUpdates.subscribe(calendar).distinctUntilChanged(),
|
getUpdates.subscribe(calendar).distinctUntilChanged(),
|
||||||
downloadCache.changes,
|
downloadCache.changes,
|
||||||
) { updates, _ -> updates }
|
downloadManager.queueState,
|
||||||
|
) { updates, _, _ -> updates }
|
||||||
.catch {
|
.catch {
|
||||||
logcat(LogPriority.ERROR, it)
|
logcat(LogPriority.ERROR, it)
|
||||||
_events.send(Event.InternalError)
|
_events.send(Event.InternalError)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue