Feedlist displayed wrong value in 'last update' if feed had no episodes
This commit is contained in:
parent
1ad54cb21a
commit
6fa2fe6c7d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue