mirror of
https://github.com/Zedfrigg/ironbar.git
synced 2025-09-18 12:46: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
|
@ -101,6 +101,7 @@ async fn handle_update_events(
|
|||
let icon = icons
|
||||
.get(&interface)
|
||||
.expect("the icon for the interface to be present");
|
||||
// TODO: Make this configurable at runtime
|
||||
let icon_name = get_icon_for_device_state(&r#type, &state);
|
||||
match icon_name {
|
||||
Some(icon_name) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue