Skip to content

Commit

Permalink
fix: fix interval event name
Browse files Browse the repository at this point in the history
  • Loading branch information
SARDONYX-sard committed Jan 21, 2025
1 parent 5d447f5 commit 04af34f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gui/backend/src/cmd/interval.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ pub async fn restart_interval(app: AppHandle) {
err_log!(update_tray_inner(dev_name, battery_level, dev.is_connected));
};

err_log!(window.emit("bt_monitor://update_devices", &devices));
err_log!(window.emit("bt_monitor://restart_devices", &devices));

// Replace all
for (address, device) in devices {
Expand Down

0 comments on commit 04af34f

Please sign in to comment.