mirror of
https://github.com/nimbold/Firelink.git
synced 2026-08-12 20:47:22 +00:00
fix(keychain): persist access state, update granted UI, and resolve build errors
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user