1
0
Fork 0
mirror of https://github.com/Zedfrigg/ironbar.git synced 2025-09-15 19:26:58 +02:00

chore: clippy/fmt

This commit is contained in:
Jake Stanger 2025-07-14 19:55:46 +01:00
commit f1a8b42cfa
No known key found for this signature in database
GPG key ID: C51FC8F9CB0BEA61
2 changed files with 5 additions and 2 deletions

View file

@ -181,7 +181,10 @@ fn on_update(
UpdateEvent::AttentionIcon(_icon) => {
warn!("received unimplemented NewAttentionIcon event");
}
UpdateEvent::Icon { icon_name, icon_pixmap} => {
UpdateEvent::Icon {
icon_name,
icon_pixmap,
} => {
menu_item.icon_pixmap = icon_pixmap;
if icon_name.as_ref() != menu_item.icon_name() {