feat(status/translation): support translating spoiler

This commit is contained in:
FineFindus 2023-11-01 20:44:24 +01:00
parent be5f3b18af
commit 77b9efa7d1
No known key found for this signature in database
GPG Key ID: 64873EE210FF8E6B
1 changed files with 5 additions and 0 deletions

View File

@ -616,6 +616,11 @@ public abstract class BaseStatusListFragment<T extends DisplayItemsParent> exten
imgLoader.bindViewHolder((ImageLoaderRecyclerAdapter) list.getAdapter(), text, text.getAbsoluteAdapterPosition());
}
SpoilerStatusDisplayItem.Holder spoiler=findHolderOfType(itemID, SpoilerStatusDisplayItem.Holder.class);
if(spoiler!=null){
spoiler.rebind();
}
MediaGridStatusDisplayItem.Holder media=findHolderOfType(itemID, MediaGridStatusDisplayItem.Holder.class);
if (media!=null) {
media.rebind();