diff --git a/app/src/main/java/me/devsaki/hentoid/database/ObjectBoxDAO.java b/app/src/main/java/me/devsaki/hentoid/database/ObjectBoxDAO.java index 8eb77b080b..0a5ab9b901 100644 --- a/app/src/main/java/me/devsaki/hentoid/database/ObjectBoxDAO.java +++ b/app/src/main/java/me/devsaki/hentoid/database/ObjectBoxDAO.java @@ -409,7 +409,7 @@ public long countAllInternalBooks(boolean favsOnly) { } public long countAllQueueBooks() { - return db.selectAllQueueBooksQ().count(); + return db.selectAllQueueBooksQ().findIds().length; // Count doesn't work here because selectAllQueueBooksQ uses a filter } public LiveData countAllQueueBooksLive() {