fix ordering on search, copy note

Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
William Casarin
2022-05-09 12:09:51 -07:00
parent cac139fff1
commit bd49c8a9d1
5 changed files with 22 additions and 5 deletions

View File

@@ -95,7 +95,7 @@ struct EventView: View {
Button {
UIPasteboard.general.string = event.content
} label: {
Label("Copy", systemImage: "doc.on.doc")
Label("Copy Text", systemImage: "doc.on.doc")
}
Button {
@@ -104,6 +104,12 @@ struct EventView: View {
Label("Copy ID", systemImage: "tag")
}
Button {
UIPasteboard.general.string = event_to_json(ev: event)
} label: {
Label("Copy Note", systemImage: "note")
}
Button {
NotificationCenter.default.post(name: .broadcast_event, object: event)
} label: {