mirror of
https://github.com/maxgoedjen/secretive.git
synced 2025-09-20 03:10:57 +00:00
For copyable view too
This commit is contained in:
parent
7dc1c788df
commit
752f92262a
@ -79,7 +79,7 @@ struct CopyableView: View {
|
|||||||
var copyButton: some View {
|
var copyButton: some View {
|
||||||
switch interactionState {
|
switch interactionState {
|
||||||
case .hovering:
|
case .hovering:
|
||||||
Button(.copyableClickToCopyButton, systemImage: "document.on.document") {
|
Button(.copyableClickToCopyButton, systemImage: "doc.on.doc") {
|
||||||
withAnimation {
|
withAnimation {
|
||||||
// Button will eat the click, so we set interaction state manually.
|
// Button will eat the click, so we set interaction state manually.
|
||||||
interactionState = .clicking
|
interactionState = .clicking
|
||||||
|
Loading…
Reference in New Issue
Block a user