feat(status/translation): support translating spoiler
This commit is contained in:
parent
be5f3b18af
commit
77b9efa7d1
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue