diff --git a/src/icon_manager.rs b/src/icon_manager.rs index 4cb2a51..1f97ed1 100644 --- a/src/icon_manager.rs +++ b/src/icon_manager.rs @@ -224,7 +224,7 @@ impl IconManager { } // Migration support - convert old numeric IDs to string IDs - #[allow(dead_code)] + #[cfg(windows)] pub fn migrate_from_numeric_id(old_id: usize) -> String { let is_cat = (old_id & 2) == 0; @@ -235,7 +235,7 @@ impl IconManager { } } - #[allow(dead_code)] + #[cfg(windows)] pub fn get_theme_from_numeric_id(old_id: usize) -> Theme { let is_dark = (old_id & 1) == 0; if is_dark {