commit 1b3be3a13bc89417282d43fc4a317f9da31a62c3
parent 3a2ce04d6bf60cff30e09735a2caecd85460bcef
Author: William Casarin <jb55@jb55.com>
Date: Fri, 21 Feb 2025 11:07:42 -0800
Revert "Update EventMenu.swift"
should have tested this first lol
This reverts commit 3a2ce04d6bf60cff30e09735a2caecd85460bcef.
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/damus/Views/Events/EventMenu.swift b/damus/Views/Events/EventMenu.swift
@@ -79,9 +79,9 @@ struct MenuItems: View {
}
Button {
- UIPasteboard.general.string = Bech32Object.encode(.nevent(NEvent(noteid: event.id, relays: userProfile.getCappedRelayStrings())))
+ UIPasteboard.general.string = event.id.bech32
} label: {
- Label(NSLocalizedString("Copy event ID", comment: "Context menu option for copying the event ID of the note."), image: "note-book")
+ Label(NSLocalizedString("Copy note ID", comment: "Context menu option for copying the ID of the note."), image: "note-book")
}
if damus_state.settings.developer_mode {