Skip to content

Commit

Permalink
fix: display()
Browse files Browse the repository at this point in the history
  • Loading branch information
SpikeHD committed Sep 17, 2024
1 parent 4185e4d commit c6ffa1f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src-tauri/src/util/notifications.rs
Original file line number Diff line number Diff line change
Expand Up @@ -184,12 +184,10 @@ pub unsafe fn set_notif_icon(window: &tauri::WebviewWindow, amount: i32) {
let window: &NSWindow = &*webview.ns_window().cast();
let dock_tile = window.dockTile();

println!("{:?}", dock_tile);
println!("{:?}", label);

dock_tile.setBadgeLabel(label.as_deref());
dock_tile.display();
}
}).unwrap();
}).unwrap_or_default();
}

#[cfg(target_os = "linux")]
Expand Down

0 comments on commit c6ffa1f

Please sign in to comment.