mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-01-29 17:15:38 +08:00
refactor: update draft handling and improve benchmark structure
This commit is contained in:
@@ -102,7 +102,7 @@ async fn perform_profile_update(
|
||||
let profile_name = item.name.clone().unwrap_or_else(|| uid.clone());
|
||||
handle::Handle::notice_message("update_with_clash_proxy", profile_name);
|
||||
|
||||
let is_current = Some(uid.clone()) == profiles.data_ref().get_current();
|
||||
let is_current = Some(uid.clone()) == profiles.latest_ref().get_current();
|
||||
log::info!(target: "app", "[订阅更新] 是否为当前使用的订阅: {is_current}");
|
||||
Ok(is_current)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user