mirror of
https://github.com/AgentSeal/codeburn.git
synced 2026-11-29 02:39:13 +00:00
The item said "Toggle Dark/Light" and flipped between two states, so a reader who had ever chosen Light or Dark could not get back to following the system, which is the only setting the mac has at all. It steps System, Light, Dark now and names the state it moves to, because a menu item reads as a verb. The popover's More menu runs the same cycle from the same wording, so the two can never disagree. The choice is written to the settings file from Rust rather than asked of the popover, which means the item works with no popover on screen, and every window retints from the broadcast that already exists. That made the resolved-theme state in the popover dead, and the media listener that kept it, so both are gone. One bug had to go first. A tray's on_menu_event handler is registered globally rather than against that tray, so registering it on both the logo and the badge icon ran every menu item twice: the cycle skipped a step, and Show Capacity Dock had been toggling itself straight back. |
||
|---|---|---|
| .. | ||
| capabilities | ||
| icons | ||
| src | ||
| build.rs | ||
| Cargo.lock | ||
| Cargo.toml | ||
| tauri.conf.json | ||