summaryrefslogtreecommitdiff
path: root/src/de/danoeh/antennapod/adapter
diff options
context:
space:
mode:
authordaniel oeh <daniel.oeh@gmail.com>2013-09-23 10:37:43 +0200
committerdaniel oeh <daniel.oeh@gmail.com>2013-09-23 10:37:43 +0200
commite38746f906f9ddfb7600b2113f8934bc4117e6ec (patch)
tree6b4933ad10cbede02c02ce203fce9ad8806e33e5 /src/de/danoeh/antennapod/adapter
parentaa3675bc838727f4e2b8bddbafa5972370f19cda (diff)
downloadAntennaPod-e38746f906f9ddfb7600b2113f8934bc4117e6ec.zip
Statistics for Feeds with no items are now loaded correctly. fixes #283
Diffstat (limited to 'src/de/danoeh/antennapod/adapter')
-rw-r--r--src/de/danoeh/antennapod/adapter/FeedlistAdapter.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/de/danoeh/antennapod/adapter/FeedlistAdapter.java b/src/de/danoeh/antennapod/adapter/FeedlistAdapter.java
index 10013d7f2..37600838e 100644
--- a/src/de/danoeh/antennapod/adapter/FeedlistAdapter.java
+++ b/src/de/danoeh/antennapod/adapter/FeedlistAdapter.java
@@ -89,7 +89,7 @@ public class FeedlistAdapter extends BaseAdapter {
if (DownloadRequester.getInstance().isDownloadingFile(feed)) {
holder.lastUpdate.setText(R.string.refreshing_label);
} else {
- if (feedItemStatistics.getNumberOfItems() > 0) {
+ if (feedItemStatistics.lastUpdateKnown()) {
holder.lastUpdate.setText(convertView.getResources().getString(
R.string.most_recent_prefix)
+ DateUtils.getRelativeTimeSpanString(