Subscribe to download queue state changes in UpdatesScreen

This commit is contained in:
arkon 2023-07-29 14:26:24 -04:00
parent e2abf283fe
commit 90325d48aa

View file

@ -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)