fix: tray icon and tray rate display expression logic bug

This commit is contained in:
Tunglies
2025-03-26 19:07:09 +08:00
parent 42db9ea0bb
commit 6e40dd9862
6 changed files with 9 additions and 10 deletions

View File

@@ -623,12 +623,12 @@ async fn check_netflix_cdn(client: &Client) -> UnlockItem {
}
// 如果无法解析区域信息
return UnlockItem {
UnlockItem {
name: "Netflix".to_string(),
status: "Unknown".to_string(),
region: None,
check_time: Some(get_local_date_string()),
};
}
}
Err(e) => {
eprintln!("解析Fast.com API响应失败: {}", e);

View File

@@ -1,6 +1,6 @@
use super::CmdResult;
use crate::{
core::{self, handle, CoreManager, RunningMode},
core::{handle, CoreManager},
module::sysinfo::PlatformSpecification,
};
use once_cell::sync::Lazy;