diff options
author | Martin Fietz <Martin.Fietz@gmail.com> | 2015-05-19 16:46:51 +0200 |
---|---|---|
committer | Martin Fietz <Martin.Fietz@gmail.com> | 2015-05-19 16:46:51 +0200 |
commit | 61754cae52feaed9a9fa149e087bfe98e2015cbd (patch) | |
tree | c6148bc0713f4433038809fd425c5558bf424fbd /app/src/main/java/de/danoeh/antennapod/adapter | |
parent | 44b3a3bb871c2eabae2df8c6092e0a0c0b317f88 (diff) | |
download | AntennaPod-61754cae52feaed9a9fa149e087bfe98e2015cbd.zip |
Show correct number of new items
Diffstat (limited to 'app/src/main/java/de/danoeh/antennapod/adapter')
-rw-r--r-- | app/src/main/java/de/danoeh/antennapod/adapter/NavListAdapter.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/src/main/java/de/danoeh/antennapod/adapter/NavListAdapter.java b/app/src/main/java/de/danoeh/antennapod/adapter/NavListAdapter.java index ae81779e4..13982f57d 100644 --- a/app/src/main/java/de/danoeh/antennapod/adapter/NavListAdapter.java +++ b/app/src/main/java/de/danoeh/antennapod/adapter/NavListAdapter.java @@ -210,7 +210,7 @@ public class NavListAdapter extends BaseAdapter holder.count.setVisibility(View.GONE); } } else if (tags.get(position).equals(NewEpisodesFragment.TAG)) { - int unreadItems = itemAccess.getNumberOfUnreadItems(); + int unreadItems = itemAccess.getNumberOfNewItems(); if (unreadItems > 0) { holder.count.setVisibility(View.VISIBLE); holder.count.setText(String.valueOf(unreadItems)); @@ -300,7 +300,7 @@ public class NavListAdapter extends BaseAdapter Feed getItem(int position); int getSelectedItemIndex(); int getQueueSize(); - int getNumberOfUnreadItems(); + int getNumberOfNewItems(); int getNumberOfUnreadFeedItems(long feedId); } |