Copy ID menu option split (one for bech32 encoded, one for hex)

This commit is contained in:
Mike Dilger 2023-01-22 15:31:36 +13:00
parent 79abadb530
commit d387242bb3

View File

@ -488,6 +488,9 @@ fn render_post_actual(
}));
}
if ui.button("Copy ID").clicked() {
ui.output().copied_text = event.id.try_as_bech32_string().unwrap();
}
if ui.button("Copy ID as hex").clicked() {
ui.output().copied_text = event.id.as_hex_string();
}
if ui.button("Dismiss").clicked() {