mirror of
https://github.com/clash-verge-rev/clash-verge-rev
synced 2025-05-05 06:23:44 +08:00
fix: fix TUN icon is overwritten by system proxy icon (#1961)
Co-authored-by: 周晓亮 <zhouxl@jiyitech.com>
This commit is contained in:
parent
08bf70681c
commit
fc03ce1247
@ -100,7 +100,7 @@ impl Tray {
|
|||||||
#[cfg(target_os = "macos")]
|
#[cfg(target_os = "macos")]
|
||||||
let mut use_custom_icon = false;
|
let mut use_custom_icon = false;
|
||||||
#[allow(unused)]
|
#[allow(unused)]
|
||||||
let mut indication_icon = if *system_proxy {
|
let mut indication_icon = if *system_proxy && !*tun_mode {
|
||||||
#[cfg(target_os = "macos")]
|
#[cfg(target_os = "macos")]
|
||||||
let mut icon = match tray_icon.as_str() {
|
let mut icon = match tray_icon.as_str() {
|
||||||
"colorful" => {
|
"colorful" => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user