Skip to content

Commit

Permalink
hide trailing hashtags when post is collapsed (#4839)
Browse files Browse the repository at this point in the history
closes #4838
  • Loading branch information
connyduck authored Dec 31, 2024
1 parent f501840 commit 560411c
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,9 @@ private void setTextVisible(boolean sensitive,
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);
}
Expand Down

0 comments on commit 560411c

Please sign in to comment.