Skip to content

Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.

Refresh credential list after credential delete (#520)

Leendert de Borst18182cdda27e
diff --git a/apps/mobile-app/app/(tabs)/credentials/add-edit.tsx b/apps/mobile-app/app/(tabs)/credentials/add-edit.tsx
index 1663b28bd..643a36d59 100644
--- a/apps/mobile-app/app/(tabs)/credentials/add-edit.tsx
+++ b/apps/mobile-app/app/(tabs)/credentials/add-edit.tsx
@@ -463,6 +463,9 @@ export default function AddEditCredentialScreen() : React.ReactNode {
await dbContext.sqliteClient!.deleteCredentialById(id);
});
+ // Emit an event to notify list views to refresh
+ emitter.emit('credentialChanged', id);
+
// Show success toast
setTimeout(() => {
Toast.show({