From 3a2ce04d6bf60cff30e09735a2caecd85460bcef Mon Sep 17 00:00:00 2001 From: alltheseas <64376233+alltheseas@users.noreply.github.com> Date: Fri, 21 Feb 2025 08:45:55 -0600 Subject: [PATCH] Update EventMenu.swift replaced deprecated noteID with neventID in EventMenu.swift. NoteID currently appears in bubble/context menu of each note (top right three dots ellipsis). --- damus/Views/Events/EventMenu.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/damus/Views/Events/EventMenu.swift b/damus/Views/Events/EventMenu.swift index e0c3e3a7..3d421928 100644 --- a/damus/Views/Events/EventMenu.swift +++ b/damus/Views/Events/EventMenu.swift @@ -79,9 +79,9 @@ struct MenuItems: View { } Button { - UIPasteboard.general.string = event.id.bech32 + UIPasteboard.general.string = Bech32Object.encode(.nevent(NEvent(noteid: event.id, relays: userProfile.getCappedRelayStrings()))) } label: { - Label(NSLocalizedString("Copy note ID", comment: "Context menu option for copying the ID of the note."), image: "note-book") + Label(NSLocalizedString("Copy event ID", comment: "Context menu option for copying the event ID of the note."), image: "note-book") } if damus_state.settings.developer_mode {