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).
This commit is contained in:
alltheseas
2025-02-21 08:45:55 -06:00
committed by GitHub
parent 98f83769bd
commit 3a2ce04d6b

View File

@@ -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 {