mirror of
https://github.com/mikedilger/gossip.git
synced 2024-09-19 11:43:43 +00:00
Hide PQ button as it is currently automatic
This commit is contained in:
parent
39e64af917
commit
fa2b7d1b0b
@ -71,10 +71,12 @@ pub(super) fn update(app: &mut GossipUi, ctx: &Context, frame: &mut eframe::Fram
|
|||||||
Ok(v) => v.len() as isize,
|
Ok(v) => v.len() as isize,
|
||||||
Err(_) => -1,
|
Err(_) => -1,
|
||||||
};
|
};
|
||||||
|
/*
|
||||||
let incoming_count: isize = match GLOBALS.incoming_events.try_read() {
|
let incoming_count: isize = match GLOBALS.incoming_events.try_read() {
|
||||||
Ok(v) => v.len() as isize,
|
Ok(v) => v.len() as isize,
|
||||||
Err(_) => -1,
|
Err(_) => -1,
|
||||||
};
|
};
|
||||||
|
*/
|
||||||
|
|
||||||
ui.with_layout(Layout::right_to_left(Align::TOP), |ui| {
|
ui.with_layout(Layout::right_to_left(Align::TOP), |ui| {
|
||||||
if 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
|
if ui
|
||||||
.button(&format!("PQ {}", incoming_count))
|
.button(&format!("PQ {}", incoming_count))
|
||||||
.on_hover_text("Process Queue of Incoming Events")
|
.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(),
|
json_payload: serde_json::to_string("").unwrap(),
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
ui.label(&format!(
|
ui.label(&format!(
|
||||||
"RIF={}",
|
"RIF={}",
|
||||||
|
Loading…
Reference in New Issue
Block a user