fix: replace update_tray_display with update_menu for consistency across tray updates

This commit is contained in:
Tunglies
2025-11-04 10:38:59 +08:00
Unverified
parent 0a03867352
commit 0306f73841
6 changed files with 77 additions and 101 deletions

View File

@@ -161,9 +161,7 @@ impl Timer {
.set_frequency_count_down_by_seconds(3, 3)
.spawn_async_routine(|| async move {
logging!(debug, Type::Timer, "Updating tray menu");
crate::core::tray::Tray::global()
.update_tray_display()
.await
crate::core::tray::Tray::global().update_menu().await
})
.context("failed to create update tray menu timer task")?;
delay_timer