Skip to content

Commit

Permalink
hide frozen banner
Browse files Browse the repository at this point in the history
  • Loading branch information
tien-awair committed Jun 17, 2022
1 parent ca4bc53 commit 502f095
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -274,8 +274,9 @@ private void drawChannel(GroupChannel channel) {
if (isActive()) {
binding.chvChannelHeader.getTitleTextView().setText(ChannelUtils.makeTitleText(channel));
ChannelUtils.loadChannelCover(binding.chvChannelHeader.getProfileView(), channel);
binding.tvInformation.setVisibility(channel.isFrozen() ? View.VISIBLE : View.GONE);
binding.tvInformation.setText(R.string.sb_text_information_channel_frozen);
// TODO: nt.dung - hide the banner if the channel is frozen
// binding.tvInformation.setVisibility(channel.isFrozen() ? View.VISIBLE : View.GONE);
// binding.tvInformation.setText(R.string.sb_text_information_channel_frozen);
drawMessageInput(channel);
}
}
Expand Down

0 comments on commit 502f095

Please sign in to comment.