From 15b8c3af2f2b8aad681fd6fcafe108c4bb5fd6fa Mon Sep 17 00:00:00 2001 From: "Evgeny @ SimpleX Chat" <259188159+evgeny-simplex@users.noreply.github.com> Date: Thu, 2 Apr 2026 19:15:46 +0000 Subject: [PATCH] move more --- .../kotlin/chat/simplex/common/views/chat/ChatView.kt | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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 05f6f92575..f874b09350 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 @@ -1007,6 +1007,11 @@ fun ChatLayout( CommandsMenuView(chatsCtx, chat, composeState, showCommandsMenu) } } + // Copy button: last child of chat Box — above messages, + // behind compose (ABPL paints compose after) and toolbars (outer Box paints after ABPL) + if (appPlatform.isDesktop) { + SelectionCopyButton() + } } } if (chatsCtx.contentTag == MsgContentTag.Report) { @@ -1058,10 +1063,6 @@ fun ChatLayout( } } } - // Copy button: above messages, behind toolbars/compose - if (appPlatform.isDesktop) { - SelectionCopyButton() - } val reportsCount = reportsCount(chatInfo?.id) val supportUnreadCount = supportUnreadCount(chatInfo?.id) if (oneHandUI.value && chatBottomBar.value) {