Do not show display name when disabled

There was an issue where the display name of the user was
This commit is contained in:
Bazsalanszky 2024-07-09 15:54:51 +02:00
parent ae5b3836e7
commit 1ab8f31cbd

View File

@ -601,7 +601,6 @@ public class PostDetailRecyclerViewAdapter extends RecyclerView.Adapter<Recycler
((PostDetailBaseViewHolder) holder).mUserInstanceTextView.setText('@' + mPost.getAuthorNamePrefixed().split(Pattern.quote("@"))[1]);
((PostDetailBaseViewHolder) holder).mCommunityInstanceTextView.setTextColor(CustomThemeWrapper.darkenColor(mSubredditColor, 0.7f));
((PostDetailBaseViewHolder) holder).mUserInstanceTextView.setTextColor(CustomThemeWrapper.darkenColor(mPost.isModerator() || mPost.isAdmin() ? mModeratorColor : mUsernameColor, 0.7f));
((PostDetailBaseViewHolder) holder).userTextView.setText(mPost.getAuthor());
}
if (mPost.isModerator() || mPost.isAdmin()) {