perf: handle tray icon event to reduce always spawn thread

This commit is contained in:
oomeow
2025-12-13 16:49:55 +08:00
parent c5fa64a213
commit af9b67186e
2 changed files with 12 additions and 11 deletions

View File

@@ -111,7 +111,7 @@ async fn perform_profile_update(
let profile_name = profiles_arc
.get_name_by_uid(uid)
.cloned()
.unwrap_or_else(|| String::from("UnKown Profile"));
.unwrap_or_else(|| String::from("UnKnown Profile"));
let mut last_err;