From 64bf4ce526f082f12d0255fe897774680f027394 Mon Sep 17 00:00:00 2001 From: iamtoruk Date: Tue, 1 Sep 2026 20:45:51 -0700 Subject: [PATCH] fix(windows): drop the daily_budget command the settings window replaced `daily_budgets` answers with both thresholds, and the hero reads that one now because the alert follows the display metric. The single-threshold command had no caller left. --- windows/src-tauri/src/lib.rs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/windows/src-tauri/src/lib.rs b/windows/src-tauri/src/lib.rs index ab9676c1..b3366dcb 100644 --- a/windows/src-tauri/src/lib.rs +++ b/windows/src-tauri/src/lib.rs @@ -139,7 +139,6 @@ pub fn run() { .invoke_handler(tauri::generate_handler![ commands::fetch_payload, commands::cli_status, - commands::daily_budget, commands::currency, commands::set_currency, commands::open_terminal_command, @@ -674,13 +673,6 @@ mod commands { .map_err(|e| e.to_string()) } - /// Today spend limit from the CLI config, so the hero can warn on the same number the - /// tray flame is tinted by. `None` means the alert is off. - #[tauri::command] - pub fn daily_budget() -> Option { - crate::tray_status::daily_budget() - } - /// Re-resolves the CLI each call so a freshly installed `codeburn` is picked up /// without restarting the tray app. #[tauri::command]