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) {