diff --git a/live/src/main/java/com/yunbao/live/views/LiveRoomViewHolder.java b/live/src/main/java/com/yunbao/live/views/LiveRoomViewHolder.java index 943478030..0dc6ce3f6 100644 --- a/live/src/main/java/com/yunbao/live/views/LiveRoomViewHolder.java +++ b/live/src/main/java/com/yunbao/live/views/LiveRoomViewHolder.java @@ -717,7 +717,9 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis if (!SpUtil.getInstance().getBooleanValue("private_chat_message_switch")) { msgLayout.setVisibility(View.GONE); } - + if(!IMLoginManager.get(mContext).hintChat()){ + msgLayout.setVisibility(View.VISIBLE); + } mHandler = new Handler() { @Override public void handleMessage(Message msg) { diff --git a/live/src/main/res/layout/view_live_room.xml b/live/src/main/res/layout/view_live_room.xml index 1573027ca..45ed4716b 100644 --- a/live/src/main/res/layout/view_live_room.xml +++ b/live/src/main/res/layout/view_live_room.xml @@ -667,6 +667,7 @@ android:layout_height="48dp" android:layout_alignParentEnd="true" android:layout_marginEnd="0dp" + android:visibility="invisible" android:background="@drawable/bg_live_room_msg">