Fix issue #528 - Crash with delete & re-draft

This commit is contained in:
stom79 2018-10-27 09:30:11 +02:00
parent 1463a8db15
commit a721b11305
1 changed files with 1 additions and 1 deletions

View File

@ -354,7 +354,7 @@ public class StatusListAdapter extends RecyclerView.Adapter implements OnPostAct
}
public Status getItem(int position){
if( statuses.size() > position)
if( statuses.size() > position && position >= 0)
return statuses.get(position);
else return null;
}