mirror of
https://github.com/AgentSeal/codeburn.git
synced 2026-07-10 01:29:41 +00:00
Two follow-ups from the budget review: - Currency consistency: the daily cost budget is defined in USD (the presets and the custom field are labeled "$"), but the "exceeded" banner ran the value through the display-currency rate, so a non-USD user saw the field and banner disagree (e.g. field "$100", banner "EUR 92"). Render the budget label in USD via a new asUSD() helper so the picker, field, and banner all agree. The over-budget comparison was already USD vs USD and is unchanged. - Empty custom cue: selecting "Custom..." and leaving the field blank stores 0, which silently disables the alert while the picker still shows "Custom...". The help text now says "Enter an amount above, or the alert stays off." in that state so it does not look armed when it isn't. |
||
|---|---|---|
| .. | ||
| Data | ||
| Security | ||
| Theme | ||
| Views | ||
| AppStore.swift | ||
| AppVersion.swift | ||
| CodeBurnApp.swift | ||
| CurrencyState.swift | ||