mirror of
https://github.com/clash-verge-rev/clash-verge-rev
synced 2025-05-05 03:03:46 +08:00
fix: unused code on non-MacOS platform
This commit is contained in:
parent
b7e01aefb4
commit
4a47c5bb6f
@ -135,6 +135,7 @@ pub fn resolve_reset() {
|
|||||||
tauri::async_runtime::block_on(async move {
|
tauri::async_runtime::block_on(async move {
|
||||||
#[cfg(target_os = "macos")]
|
#[cfg(target_os = "macos")]
|
||||||
logging!(info, Type::Tray, true, "Unsubscribing from traffic updates");
|
logging!(info, Type::Tray, true, "Unsubscribing from traffic updates");
|
||||||
|
#[cfg(target_os = "macos")]
|
||||||
tray::Tray::global().unsubscribe_traffic();
|
tray::Tray::global().unsubscribe_traffic();
|
||||||
|
|
||||||
logging_error!(
|
logging_error!(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user