Skip to content

Commit

Permalink
Fix crash when accessing "export metadata"
Browse files Browse the repository at this point in the history
  • Loading branch information
RobbWatershed committed Dec 23, 2022
1 parent b2ad67b commit 266b713
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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<Integer> countAllQueueBooksLive() {
Expand Down

0 comments on commit 266b713

Please sign in to comment.