Fix no toots that remains on Nitter

This commit is contained in:
tom79 2020-02-02 12:12:40 +01:00
parent 34c6322b77
commit 376a2aab77
1 changed files with 1 additions and 1 deletions

View File

@ -551,7 +551,7 @@ public class DisplayStatusFragment extends Fragment implements OnRetrieveFeedsIn
textviewNoAction.setVisibility(View.GONE);
//remove handlers
swipeRefreshLayout.setRefreshing(false);
if (firstLoad && (apiResponse.getPeertubes() == null || apiResponse.getPeertubes().size() == 0)) {
if (firstLoad && (apiResponse.getStatuses() == null || apiResponse.getStatuses().size() == 0)) {
textviewNoAction.setVisibility(View.VISIBLE);
}
flag_loading = false;