mirror of
https://github.com/Zedfrigg/ironbar.git
synced 2025-09-16 03:36:58 +02:00
refactor(networkmanager): remove unnecessary async & unused fields
This commit is contained in:
parent
8bb95e2e3f
commit
e6f610687c
5 changed files with 8 additions and 18 deletions
|
@ -190,7 +190,7 @@ impl Clients {
|
|||
if let Some(client) = &self.network_manager {
|
||||
Ok(client.clone())
|
||||
} else {
|
||||
let client = await_sync(async move { networkmanager::create_client().await })?;
|
||||
let client = networkmanager::create_client()?;
|
||||
self.network_manager = Some(client.clone());
|
||||
Ok(client)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue