clean up client ui

This commit is contained in:
John Smith
2022-08-29 15:19:28 -04:00
parent 38ec19d9da
commit f1377e6eba
2 changed files with 13 additions and 9 deletions

View File

@@ -790,7 +790,7 @@ impl UI {
inner.ui_state.connection_state.set(state);
let _ = inner.cb_sink.send(Box::new(UI::update_cb));
}
pub fn add_node_event(&self, event: &str) {
pub fn add_node_event(&self, event: String) {
let inner = self.inner.borrow();
let color = *inner.log_colors.get(&Level::Info).unwrap();
for line in event.lines() {