fix: resolve warnings
This commit is contained in:
parent
1f576c8062
commit
1547199142
1 changed files with 1 additions and 4 deletions
|
|
@ -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(),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue