mirror of
https://github.com/mastodon/mastodon-android.git
synced 2025-01-29 18:09:18 +01:00
Crash fix
This commit is contained in:
parent
25112c1fe3
commit
2a7838f2a7
@ -279,6 +279,8 @@ public class ThreadFragment extends StatusListFragment{
|
||||
Status current=getStatusByID(currentID);
|
||||
Status previous=findPreviousStatus(currentID);
|
||||
Status next=findNextStatus(currentID);
|
||||
if(current==null)
|
||||
continue;
|
||||
|
||||
connectUp=previous!=null && previous.id.equals(current.inReplyToId);
|
||||
connectToRoot=mainStatus.id.equals(current.inReplyToId);
|
||||
|
Loading…
x
Reference in New Issue
Block a user