ui: feed: (i) hover to see Id of message

This commit is contained in:
Mike Dilger 2022-12-23 16:00:14 +13:00
parent 162c1be486
commit 422c60062b

View File

@ -137,6 +137,12 @@ fn render_post(
.text_style(TextStyle::Name("Oblique".into()))
.weak(),
);
ui.add_space(10.0);
ui.label("(i)").on_hover_ui(|ui| {
ui.label(&format!("ID: {}", event.id.as_hex_string()));
});
});
});