mirror of
https://gitlab.com/veilid/veilid.git
synced 2025-08-09 07:02:41 -04:00
pr work
This commit is contained in:
parent
28c31fe424
commit
688995ed0d
17 changed files with 534 additions and 122 deletions
|
@ -388,6 +388,7 @@ reply - reply to an AppCall not handled directly by the server
|
|||
// called by client_api_connection
|
||||
// calls into ui
|
||||
////////////////////////////////////////////
|
||||
|
||||
pub fn update_attachment(&mut self, attachment: veilid_core::VeilidStateAttachment) {
|
||||
self.inner_mut().ui.set_attachment_state(attachment.state);
|
||||
}
|
||||
|
@ -400,6 +401,9 @@ reply - reply to an AppCall not handled directly by the server
|
|||
network.peers,
|
||||
);
|
||||
}
|
||||
pub fn update_config(&mut self, config: veilid_core::VeilidStateConfig) {
|
||||
self.inner_mut().ui.set_config(config.config)
|
||||
}
|
||||
|
||||
pub fn update_log(&mut self, log: veilid_core::VeilidLog) {
|
||||
self.inner().ui.add_node_event(format!(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue