diff --git a/src/desktop/tray.rs b/src/desktop/tray.rs index 5357a0a..8410617 100644 --- a/src/desktop/tray.rs +++ b/src/desktop/tray.rs @@ -2,8 +2,6 @@ //! //! Provides system tray icon and menu for desktop platforms. -#![allow(dead_code)] // Prepared for future use - use anyhow::Result; use std::sync::Arc; use tokio::sync::RwLock; @@ -55,8 +53,7 @@ impl TrayManager { } /// Get mode as string - #[allow(dead_code)] - fn get_mode_string(&self) -> String { + pub fn get_mode_string(&self) -> String { match self.running_mode { RunningMode::Desktop => "Desktop".to_string(), RunningMode::Server => "Server".to_string(),