mirror of
https://github.com/mikedilger/gossip.git
synced 2024-09-19 19:46:50 +00:00
ui: show success/failure in relays table
This commit is contained in:
parent
488741f235
commit
05b6e91a6e
@ -71,6 +71,8 @@ fn render_relay(ui: &mut Ui, relay: &DbRelay, bold: bool) {
|
|||||||
if bold { rt = rt.strong(); }
|
if bold { rt = rt.strong(); }
|
||||||
ui.label(rt);
|
ui.label(rt);
|
||||||
|
|
||||||
|
ui.label(&format!("Success={} Failure={}", relay.success_count, relay.failure_count));
|
||||||
|
|
||||||
ui.with_layout(Layout::right_to_left(Align::Center), |ui| {
|
ui.with_layout(Layout::right_to_left(Align::Center), |ui| {
|
||||||
|
|
||||||
let mut post = relay.post; // checkbox needs a mutable state variable.
|
let mut post = relay.post; // checkbox needs a mutable state variable.
|
||||||
|
Loading…
Reference in New Issue
Block a user