Fix crash

This commit is contained in:
Grishka 2023-06-29 22:31:15 +03:00
parent cf8a9e1823
commit f2aa1400c5
1 changed files with 2 additions and 0 deletions

View File

@ -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++){