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