fix: replace update_tray_display with update_menu for consistency across tray updates

This commit is contained in:
Tunglies
2025-11-04 12:03:03 +08:00
parent 0a03867352
commit 0306f73841
6 changed files with 77 additions and 101 deletions
+1 -1
View File
@@ -79,7 +79,7 @@ pub fn is_in_lightweight_mode() -> bool {
}
async fn refresh_lightweight_tray_state() {
if let Err(err) = Tray::global().update_tray_display().await {
if let Err(err) = Tray::global().update_menu().await {
logging!(warn, Type::Lightweight, "更新托盘轻量模式状态失败: {err}");
}
}