fix: linux not change icon

This commit is contained in:
GyDi committed 2023-05-28 18:14:11 +08:00
1 parent edd224a185
commit ec3e237093
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -107,7 +107,7 @@ impl Tray {
let system_proxy = verge.enable_system_proxy.as_ref().unwrap_or(&false);
let tun_mode = verge.enable_tun_mode.as_ref().unwrap_or(&false);
#[cfg(not(target_os = "macos"))]
#[cfg(target_os = "windows")]
{
let indication_icon = if *system_proxy {
include_bytes!("../../icons/tray-icon-activated.png").to_vec()