mirror of
https://github.com/aliasvault/aliasvault.git
synced 2026-03-10 10:52:42 -04:00
Refresh iOS autofill identities on every vault mutation (#520)
This commit is contained in:
@@ -116,6 +116,14 @@ export function useVaultMutate() : {
|
||||
throw new Error('Vault mutation did not complete successfully');
|
||||
}
|
||||
|
||||
// Register credential identities after successful mutation
|
||||
try {
|
||||
await NativeVaultManager.registerCredentialIdentities();
|
||||
} catch (error) {
|
||||
console.warn('VaultMutate: Failed to register credential identities:', error);
|
||||
// Don't fail the mutation if credential registration fails
|
||||
}
|
||||
|
||||
// Success
|
||||
options.onSuccess?.();
|
||||
} catch (error) {
|
||||
|
||||
Reference in New Issue
Block a user