mirror of
https://github.com/mastodon/mastodon-android.git
synced 2025-01-31 10:54:46 +01:00
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…
x
Reference in New Issue
Block a user