Fix crash
This commit is contained in:
parent
cf8a9e1823
commit
f2aa1400c5
|
@ -149,6 +149,8 @@ public class ProfileFeaturedFragment extends BaseStatusListFragment<SearchResult
|
|||
}
|
||||
|
||||
private void onOneApiRequestCompleted(){
|
||||
if(getActivity()==null)
|
||||
return;
|
||||
if(tagsLoaded && statusesLoaded){
|
||||
ArrayList<SearchResult> results=new ArrayList<>();
|
||||
for(int i=0;i<Math.min(2, pinnedStatuses.size());i++){
|
||||
|
|
Loading…
Reference in New Issue