From 6459a921dc2b01d2fb739c3ffdf78d1afb40b3a9 Mon Sep 17 00:00:00 2001 From: Avently <7953703+avently@users.noreply.github.com> Date: Wed, 17 Apr 2024 18:38:45 +0700 Subject: [PATCH] change --- .../kotlin/chat/simplex/common/views/chat/ComposeView.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/chat/ComposeView.kt b/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/chat/ComposeView.kt index 8f720935a2..2c65fddff9 100644 --- a/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/chat/ComposeView.kt +++ b/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/chat/ComposeView.kt @@ -419,9 +419,8 @@ fun ComposeView( ) if (chatItem != null) { chatModel.addChatItem(rhId, chat.chatInfo, chatItem) - return chatItem } - return null + return chatItem } fun checkLinkPreview(): MsgContent {