feat(remote-followers): fallback when results from remote server are empty
This commit is contained in:
@@ -79,7 +79,11 @@ public abstract class PaginatedAccountListFragment extends BaseAccountListFragme
|
||||
remoteAccount.acct = remoteAccount.username;
|
||||
}
|
||||
});
|
||||
onDataLoaded(result.stream().map(AccountItem::new).collect(Collectors.toList()), nextMaxID!=null);
|
||||
if(!result.isEmpty()){
|
||||
onDataLoaded(result.stream().map(AccountItem::new).collect(Collectors.toList()), nextMaxID!=null);
|
||||
} else {
|
||||
loadFollower(offset, count);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user