Fix issue #528 - Crash with delete & re-draft
This commit is contained in:
parent
1463a8db15
commit
a721b11305
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue