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.
This commit is contained in:
iamtoruk 2026-09-01 20:45:51 -07:00
parent aacc42b13b
commit 64bf4ce526

View file

@ -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<f64> {
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]