From 90325d48aa85a3860e108ef85b50a24ace6e09c3 Mon Sep 17 00:00:00 2001 From: arkon Date: Sat, 29 Jul 2023 14:26:24 -0400 Subject: [PATCH] Subscribe to download queue state changes in UpdatesScreen --- .../java/eu/kanade/tachiyomi/ui/updates/UpdatesScreenModel.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/updates/UpdatesScreenModel.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/updates/UpdatesScreenModel.kt index 212029fbd..d05d54fe8 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/updates/UpdatesScreenModel.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/updates/UpdatesScreenModel.kt @@ -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)