diff --git a/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/chat/ChatView.kt b/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/chat/ChatView.kt index 3b3060c81a..03d4e30a6c 100644 --- a/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/chat/ChatView.kt +++ b/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/chat/ChatView.kt @@ -200,6 +200,10 @@ fun ChatView(chatId: String, chatModel: ChatModel, onComposed: suspend (chatId: link = it preloadedLink = it }, close) + } else { + LaunchedEffect(Unit) { + close() + } } } }