Properly hide content warning in quoted post

This commit is contained in:
Jacocococo 2023-12-29 23:34:40 +01:00
parent c6081fb4d4
commit 962c094f7e
1 changed files with 2 additions and 0 deletions

View File

@ -619,6 +619,8 @@ public abstract class BaseStatusListFragment<T extends DisplayItemsParent> exten
displayItems.addAll(index+1, spoilerItem.contentItems);
adapter.notifyItemRangeInserted(index+1, spoilerItem.contentItems.size());
}else{
if(spoilers.size()>1 && !isForQuote && status.quote.spoilerRevealed)
toggleSpoiler(status.quote, true, itemID);
displayItems.subList(index+1, index+1+spoilerItem.contentItems.size()).clear();
adapter.notifyItemRangeRemoved(index+1, spoilerItem.contentItems.size());
}