From fa2b7d1b0b8d2af01c31f90f8e9d57e484e5e78b Mon Sep 17 00:00:00 2001 From: Mike Dilger Date: Wed, 4 Jan 2023 19:38:42 +1300 Subject: [PATCH] Hide PQ button as it is currently automatic --- src/ui/feed.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/ui/feed.rs b/src/ui/feed.rs index 0ba55df0..9ad695ea 100644 --- a/src/ui/feed.rs +++ b/src/ui/feed.rs @@ -71,10 +71,12 @@ pub(super) fn update(app: &mut GossipUi, ctx: &Context, frame: &mut eframe::Fram Ok(v) => v.len() as isize, Err(_) => -1, }; + /* let incoming_count: isize = match GLOBALS.incoming_events.try_read() { Ok(v) => v.len() as isize, Err(_) => -1, - }; +}; + */ ui.with_layout(Layout::right_to_left(Align::TOP), |ui| { if ui @@ -90,6 +92,7 @@ pub(super) fn update(app: &mut GossipUi, ctx: &Context, frame: &mut eframe::Fram }); } + /* Hide for now, as they are processed automatically at present if ui .button(&format!("PQ {}", incoming_count)) .on_hover_text("Process Queue of Incoming Events") @@ -102,6 +105,7 @@ pub(super) fn update(app: &mut GossipUi, ctx: &Context, frame: &mut eframe::Fram json_payload: serde_json::to_string("").unwrap(), }); } + */ ui.label(&format!( "RIF={}",