mirror of
https://gitlab.com/veilid/veilid.git
synced 2025-08-09 07:02:41 -04:00
refactor attachment
This commit is contained in:
parent
525baea32c
commit
f49e4f0892
11 changed files with 402 additions and 239 deletions
|
@ -388,7 +388,11 @@ reply - reply to an AppCall not handled directly by the server
|
|||
////////////////////////////////////////////
|
||||
|
||||
pub fn update_attachment(&mut self, attachment: veilid_core::VeilidStateAttachment) {
|
||||
self.inner_mut().ui.set_attachment_state(attachment.state);
|
||||
self.inner_mut().ui.set_attachment_state(
|
||||
attachment.state,
|
||||
attachment.public_internet_ready,
|
||||
attachment.local_network_ready,
|
||||
);
|
||||
}
|
||||
|
||||
pub fn update_network_status(&mut self, network: veilid_core::VeilidStateNetwork) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue