This commit is contained in:
stom79 2019-01-24 09:57:55 +01:00
parent 0ce3c871f0
commit 02b7164f7a
1 changed files with 5 additions and 3 deletions

View File

@ -221,9 +221,11 @@ public class DisplayStatusFragment extends Fragment implements OnRetrieveFeedsIn
pixelfedListAdapter = new PixelfedListAdapter(context, type, this.statuses);
lv_status.setAdapter(pixelfedListAdapter);
}else if( instanceType.equals("ART")){
List<TagTimeline> tagTimelines = new SearchDAO(context, db).getTimelineInfo(tag);
if( tagTimelines != null && tagTimelines.size() > 0) {
tagTimeline = tagTimelines.get(0);
if ( type == RetrieveFeedsAsyncTask.Type.TAG) {
List<TagTimeline> tagTimelines = new SearchDAO(context, db).getTimelineInfo(tag);
if (tagTimelines != null && tagTimelines.size() > 0) {
tagTimeline = tagTimelines.get(0);
}
}
artListAdapter = new ArtListAdapter(context, this.statuses);
lv_status.setAdapter(artListAdapter);