mirror of
https://github.com/Zedfrigg/ironbar.git
synced 2025-09-16 03:36:58 +02:00
refactor: upgrade to zbus v5
Also drops the deprecated `upower-dbus` crate
This commit is contained in:
parent
75375aa341
commit
63f5954837
10 changed files with 388 additions and 336 deletions
|
@ -165,7 +165,7 @@ impl Clients {
|
|||
if let Some(client) = &self.network_manager {
|
||||
Ok(client.clone())
|
||||
} else {
|
||||
let client = networkmanager::create_client()?;
|
||||
let client = await_sync(async move { networkmanager::create_client().await })?;
|
||||
self.network_manager = Some(client.clone());
|
||||
Ok(client)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue