diff --git a/core/function-impl/mogo-core-function-chat/src/main/java/com/mogo/eagle/core/function/chat/facade/ui/CallChatWindowManager.kt b/core/function-impl/mogo-core-function-chat/src/main/java/com/mogo/eagle/core/function/chat/facade/ui/CallChatWindowManager.kt index a750dbdf93..3d9ea56a48 100644 --- a/core/function-impl/mogo-core-function-chat/src/main/java/com/mogo/eagle/core/function/chat/facade/ui/CallChatWindowManager.kt +++ b/core/function-impl/mogo-core-function-chat/src/main/java/com/mogo/eagle/core/function/chat/facade/ui/CallChatWindowManager.kt @@ -405,6 +405,9 @@ internal class CallChatWindowManager { } private fun hide(view: View) { + if (view != null && view.visibility == View.VISIBLE) { + view.visibility = View.INVISIBLE + } if (!ViewCompat.isAttachedToWindow(view)) { return }