diff options
-rw-r--r-- | src/de/danoeh/antennapod/adapter/ExternalEpisodesListAdapter.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/de/danoeh/antennapod/adapter/ExternalEpisodesListAdapter.java b/src/de/danoeh/antennapod/adapter/ExternalEpisodesListAdapter.java index a318da6d8..d303ae977 100644 --- a/src/de/danoeh/antennapod/adapter/ExternalEpisodesListAdapter.java +++ b/src/de/danoeh/antennapod/adapter/ExternalEpisodesListAdapter.java @@ -201,12 +201,12 @@ public class ExternalEpisodesListAdapter extends BaseExpandableListAdapter { if (groupPosition == 0) { headerString = context.getString(R.string.queue_label); if (!queueItems.isEmpty()) { - headerString += " (" + queueItems.size() + ")"; + headerString += " (" + getChildrenCount(GROUP_POS_QUEUE) + ")"; } } else { headerString = context.getString(R.string.new_label); if (!unreadItems.isEmpty()) { - headerString += " (" + unreadItems.size() + ")"; + headerString += " (" + getChildrenCount(GROUP_POS_UNREAD) + ")"; } } headerTitle.setText(headerString); |