For copyable view too

This commit is contained in:
Max Goedjen 2025-09-13 01:03:28 -07:00
parent 7dc1c788df
commit 752f92262a
No known key found for this signature in database

View File

@ -79,7 +79,7 @@ struct CopyableView: View {
var copyButton: some View {
switch interactionState {
case .hovering:
Button(.copyableClickToCopyButton, systemImage: "document.on.document") {
Button(.copyableClickToCopyButton, systemImage: "doc.on.doc") {
withAnimation {
// Button will eat the click, so we set interaction state manually.
interactionState = .clicking