chore: disable tray speed by default

This commit is contained in:
wonfen
2025-05-11 19:25:32 +08:00
parent 2b69ed4915
commit b37b121afb
4 changed files with 4 additions and 3 deletions

View File

@@ -303,7 +303,7 @@ impl IVerge {
webdav_url: None,
webdav_username: None,
webdav_password: None,
enable_tray_speed: Some(true),
enable_tray_speed: Some(false),
enable_tray_icon: Some(true),
enable_global_hotkey: Some(true),
enable_auto_light_weight_mode: Some(false),

View File

@@ -268,7 +268,7 @@ impl Tray {
};
#[cfg(target_os = "macos")]
{
let enable_tray_speed = verge.enable_tray_speed.unwrap_or(true);
let enable_tray_speed = verge.enable_tray_speed.unwrap_or(false);
let enable_tray_icon = verge.enable_tray_icon.unwrap_or(true);
let colorful = verge.tray_icon.clone().unwrap_or("monochrome".to_string());
let is_colorful = colorful == "colorful";