Compare commits

...

1 Commits

Author SHA1 Message Date
c5085a3026 Fix bug with copying user pubkey 2023-01-28 22:22:26 -05:00

View File

@@ -20,7 +20,7 @@ struct EventMenuContext: View {
} }
Button { Button {
UIPasteboard.general.string = keypair.pubkey_bech32 UIPasteboard.general.string = bech32_pubkey(event.pubkey)
} label: { } label: {
Label(NSLocalizedString("Copy User Pubkey", comment: "Context menu option for copying the ID of the user who created the note."), systemImage: "person") Label(NSLocalizedString("Copy User Pubkey", comment: "Context menu option for copying the ID of the user who created the note."), systemImage: "person")
} }