Subscribe to download queue state changes in UpdatesScreen
This commit is contained in:
parent
e2abf283fe
commit
90325d48aa
@ -81,7 +81,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 New Issue
Block a user