Skip to content

Commit

Permalink
fix(unofficial-quote-toots): add a check for the end index in the ear…
Browse files Browse the repository at this point in the history
…ly return
  • Loading branch information
LucasGGamerM committed Jul 19, 2024
1 parent c785bbb commit 5b25168
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -717,7 +717,7 @@ public void updateStatusWithQuote(DisplayItemsParent parent) {
}
}

if (startIndex==-1)
if (startIndex==-1 || endIndex==-1)
return;

// Only StatusListFragments/NotificationsListFragments can display status with quotes
Expand Down

0 comments on commit 5b25168

Please sign in to comment.