fix(notify): tray badge icon size as u32 on Windows
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@@ -491,7 +491,7 @@ pub fn set_badge(handle: NativeHandle, badge: Option<&Badge>) {
491
491
}
492
492
493
493
unsafe fn icon_from_badge(badge: &Badge) -> Option<HICON> {
494
unsafe { icon_from_bgra(&render_badge(badge), BADGE_SIZE) }
494
unsafe { icon_from_bgra(&render_badge(badge), BADGE_SIZE as u32) }
495
495
}
496
496
497
497
unsafe fn icon_from_bgra(pixels: &[u8], size: u32) -> Option<HICON> {
@@ -491,7 +491,7 @@ pub fn set_badge(handle: NativeHandle, badge: Option<&Badge>) {491
}491
}492
492
493
unsafe fn icon_from_badge(badge: &Badge) -> Option<HICON> {493
unsafe fn icon_from_badge(badge: &Badge) -> Option<HICON> {494
unsafe { icon_from_bgra(&render_badge(badge), BADGE_SIZE) }494
unsafe { icon_from_bgra(&render_badge(badge), BADGE_SIZE as u32) }495
}495
}496
496
497
unsafe fn icon_from_bgra(pixels: &[u8], size: u32) -> Option<HICON> {497
unsafe fn icon_from_bgra(pixels: &[u8], size: u32) -> Option<HICON> {