Skip to content

A lightweight, macOS-style dock for Windows 11, with glass visuals, smooth magnification, and Genie effect.

fix(dock): drop unused local wifi glyph constants

Railly Hugo2ca1b82d7a03
diff --git a/apps/dock/src/gfx.rs b/apps/dock/src/gfx.rs
index cdef269..9da4c5b 100644
--- a/apps/dock/src/gfx.rs
+++ b/apps/dock/src/gfx.rs
@@ -1026,8 +1026,6 @@ impl Gfx {
};
// SAFETY: The brush, format and text live for each drawing call.
unsafe {
- const WIFI: [char; 4] = ['\u{E872}', '\u{E873}', '\u{E874}', '\u{E701}'];
- const WIFI_FULL: char = '\u{E701}';
let ink_brush = dc.CreateSolidColorBrush(&ink.color(), None)?;
let wifi_glyph = network_glyph::WIFI[usize::from(bars.clamp(1, 4)) - 1];
for &(glyph, opacity) in &[(network_glyph::WIFI_FULL, 0.3f32), (wifi_glyph, 1.0f32)]