From 1547199142c7ad3b7c28ab048d323a1372d81b53 Mon Sep 17 00:00:00 2001 From: "Rodrigo Rodriguez (Pragmatismo)" Date: Wed, 17 Dec 2025 17:43:33 -0300 Subject: [PATCH] fix: resolve warnings --- src/desktop/tray.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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(),