Some fixes
This commit is contained in:
parent
85f7ade670
commit
4194dfb172
|
@ -237,7 +237,7 @@ public class ManageTimelines {
|
|||
return RetrieveFeedsAsyncTask.Type.DIRECT;
|
||||
}
|
||||
} else {
|
||||
return RetrieveFeedsAsyncTask.Type.DIRECT;
|
||||
return RetrieveFeedsAsyncTask.Type.CONVERSATION;
|
||||
}
|
||||
case NOTIFICATION:
|
||||
return RetrieveFeedsAsyncTask.Type.NOTIFICATION;
|
||||
|
|
|
@ -468,7 +468,7 @@ public class StatusListAdapter extends RecyclerView.Adapter implements OnPostAct
|
|||
@Override
|
||||
public void onRetrieveSearch(APIResponse apiResponse) {
|
||||
|
||||
if( apiResponse == null || apiResponse.getResults() == null)
|
||||
if( apiResponse == null || apiResponse.getResults() == null || toot_content == null)
|
||||
return;
|
||||
app.fedilab.android.client.Entities.Results results = apiResponse.getResults();
|
||||
int currentCursorPosition = toot_content.getSelectionStart();
|
||||
|
|
Loading…
Reference in New Issue