commit 3a2ce04d6bf60cff30e09735a2caecd85460bcef
parent 98f83769bd4b3b192bf1b492b84304e65693576d
Author: alltheseas <64376233+alltheseas@users.noreply.github.com>
Date: Fri, 21 Feb 2025 08:45:55 -0600
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).
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 = 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 {