Skip to content

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

Update DialogContext.tsx (#1939)

Leendert de Borst78d9c9ecad59
diff --git a/apps/mobile-app/context/DialogContext.tsx b/apps/mobile-app/context/DialogContext.tsx
index c0274ef1c..2a970a4ab 100644
--- a/apps/mobile-app/context/DialogContext.tsx
+++ b/apps/mobile-app/context/DialogContext.tsx
@@ -231,7 +231,6 @@ export function DialogProvider({ children }: DialogProviderProps): React.ReactNo
// Wrap button onPress to auto-close dialog
const wrappedButtons = buttons.map(btn => ({
...btn,
- await btn.onPress?.();
onPress: (): void => {
setDialogConfig(null);
const result = btn.onPress?.();