mirror of
https://github.com/mikedilger/gossip.git
synced 2024-09-19 11:43:43 +00:00
Show POW of posts
This commit is contained in:
parent
0e9f642046
commit
9d89d95350
@ -202,6 +202,9 @@ fn render_post(
|
||||
if ui.add(CopyButton {}).clicked() {
|
||||
ui.output().copied_text = GossipUi::pubkey_long(&event.pubkey);
|
||||
}
|
||||
if event.pow() > 0 {
|
||||
ui.label(format!("POW={}", event.pow()));
|
||||
}
|
||||
|
||||
ui.with_layout(Layout::right_to_left(Align::TOP), |ui| {
|
||||
ui.menu_button(RichText::new("≡").size(28.0), |ui| {
|
||||
|
Loading…
Reference in New Issue
Block a user