From e9abf2add8469501aa96f347e657c9880da1b19c Mon Sep 17 00:00:00 2001 From: Mike Dilger Date: Thu, 29 Dec 2022 18:01:51 +1300 Subject: [PATCH] Get button combined --- src/ui/feed.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/ui/feed.rs b/src/ui/feed.rs index f758a882..536446c9 100644 --- a/src/ui/feed.rs +++ b/src/ui/feed.rs @@ -47,8 +47,7 @@ pub(super) fn update(app: &mut GossipUi, ctx: &Context, frame: &mut eframe::Fram ui.with_layout(Layout::right_to_left(Align::TOP), |ui| { ui.with_layout(Layout::top_down(Align::Max), |ui| { - ui.label(&format!("{} missing events", desired_count)); - if ui.button("Get 'em").clicked() { + if ui.button(&format!("Get {} missing events", desired_count)).clicked() { let tx = GLOBALS.to_overlord.clone(); let _ = tx.send(BusMessage { target: "overlord".to_string(),