refactor: update request method handling to use reqwest::Method enum

fix: duplicated checks tray menu
This commit is contained in:
Tunglies
2025-03-15 13:23:17 +08:00
parent 488e8ef1d5
commit 1ec7a0f23c
3 changed files with 27 additions and 25 deletions

View File

@@ -59,7 +59,7 @@ pub fn change_clash_mode(mode: String) {
log_err!(tray::Tray::global().update_icon(None));
}
}
Err(err) => log::error!(target: "app", "{err}"),
Err(err) => println!("{err}"),
}
});
}