move copy button in z-order

This commit is contained in:
Evgeny @ SimpleX Chat
2026-04-02 15:55:36 +00:00
parent bbff5846a6
commit 21ebb3505d
@@ -1058,6 +1058,10 @@ 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) {
@@ -1134,10 +1138,6 @@ fun ChatLayout(
}
}
}
// Desktop selection copy button — last child of outer Box, on top of everything
if (appPlatform.isDesktop) {
SelectionCopyButton()
}
}
}
}