fix: resolve warnings

This commit is contained in:
Rodrigo Rodriguez (Pragmatismo) 2025-12-17 17:43:33 -03:00
parent 1f576c8062
commit 1547199142

View file

@ -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(),