1
0
Fork 0
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:
Reinout Meliesie 2025-08-17 21:15:10 +02:00
commit e6f610687c
Signed by: zedfrigg
GPG key ID: 3AFCC06481308BC6
5 changed files with 8 additions and 18 deletions

View file

@ -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) => {