hide trailing hashtags when post is collapsed (#4839)
closes https://github.com/tuskyapp/Tusky/issues/4838
This commit is contained in:
parent
f501840411
commit
560411c5d0
@ -287,6 +287,9 @@ public abstract class StatusBaseViewHolder extends RecyclerView.ViewHolder {
|
||||
if (expanded) {
|
||||
CharSequence emojifiedText = CustomEmojiHelper.emojify(content, emojis, this.content, statusDisplayOptions.animateEmojis());
|
||||
LinkHelper.setClickableText(this.content, emojifiedText, mentions, tags, listener, this.trailingHashtagView);
|
||||
if (trailingHashtagView != null && status.isCollapsible() && status.isCollapsed()) {
|
||||
trailingHashtagView.setVisibility(View.GONE);
|
||||
}
|
||||
for (int i = 0; i < mediaLabels.length; ++i) {
|
||||
updateMediaLabel(i, sensitive, true);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user