From 502f0958a3a23908035cef9acc4851561dc7a1a8 Mon Sep 17 00:00:00 2001 From: Tien Date: Fri, 17 Jun 2022 11:33:48 +0700 Subject: [PATCH] hide frozen banner --- .../java/com/sendbird/uikit/fragments/ChannelFragment.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/uikit/src/main/java/com/sendbird/uikit/fragments/ChannelFragment.java b/uikit/src/main/java/com/sendbird/uikit/fragments/ChannelFragment.java index 7e00a3e6..b5483001 100644 --- a/uikit/src/main/java/com/sendbird/uikit/fragments/ChannelFragment.java +++ b/uikit/src/main/java/com/sendbird/uikit/fragments/ChannelFragment.java @@ -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); } }