Feedlist displayed wrong value in 'last update' if feed had no episodes

This commit is contained in:
daniel oeh 2013-04-20 12:40:51 +02:00
parent 1ad54cb21a
commit 6fa2fe6c7d
1 changed files with 2 additions and 0 deletions

View File

@ -85,6 +85,8 @@ public class FeedlistAdapter extends BaseAdapter {
+ DateUtils.getRelativeTimeSpanString(
feed.getItemAtIndex(true, 0).getPubDate().getTime(),
System.currentTimeMillis(), 0, 0));
} else {
holder.lastUpdate.setText("");
}
}
holder.numberOfEpisodes.setText(numOfItems