mirror of
https://github.com/AgentSeal/codeburn.git
synced 2026-11-24 22:09:14 +00:00
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:
parent
aacc42b13b
commit
64bf4ce526
1 changed files with 0 additions and 8 deletions
|
|
@ -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]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue