mirror of
https://github.com/nimbold/Firelink.git
synced 2026-07-27 20:40:12 +00:00
09f103ea04
- Revert hydrate_extension_pairing_token to consult the DB's keychainAccessGranted flag instead of unconditionally skipping the keychain. When the flag is true the backend tries the keychain; if macOS trusts the current binary (no code-signature change) the read succeeds silently and the modal is suppressed. When the flag is false the keychain is skipped and the modal is shown exactly once. - Fix the Grant Access button in the KeychainPermissionModal by writing the result (token, persistent flag) directly into the store instead of calling hydratePairingToken() again. The re-hydration raced with Zustand's async persist middleware, which could read keychainAccessGranted=false from the DB and flip persistent back to false, re‑showing the modal in an endless loop. - The scheduler defaults (enabled: false) were already correct in both the Rust default_settings() and the frontend Zustand store; no code change needed.