Some fixes

This commit is contained in:
tom79 2019-08-07 09:41:12 +02:00
parent 85f7ade670
commit 4194dfb172
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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();