fix(keychain): persist access state, update granted UI, and resolve build errors

This commit is contained in:
NimBold
2026-06-24 15:45:21 +03:30
parent af2c101ca8
commit 6f426c1a18
6 changed files with 28 additions and 8 deletions
@@ -19,6 +19,7 @@ export const KeychainPermissionModal: React.FC = () => {
try {
const result = await invoke('grant_keychain_access');
if (result.persistent) {
useSettingsStore.setState({ keychainAccessGranted: true });
await useSettingsStore.getState().hydratePairingToken();
setShowKeychainModal(false);
} else {