mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-01-29 00:35:38 +08:00
chore: update
This commit is contained in:
@@ -177,6 +177,8 @@ impl Tray {
|
|||||||
if use_custom_icon {
|
if use_custom_icon {
|
||||||
let _ = tray.set_icon_as_template(false);
|
let _ = tray.set_icon_as_template(false);
|
||||||
let _ = tray.set_icon(Some(tauri::image::Image::from_bytes(&indication_icon)?));
|
let _ = tray.set_icon(Some(tauri::image::Image::from_bytes(&indication_icon)?));
|
||||||
|
} else {
|
||||||
|
let _ = tray.set_icon_as_template(true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user