Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

mobile: call onClose when closing dialog

Ammar Ahmeddcf053eede6b
diff --git a/apps/mobile/app/components/dialog/index.js b/apps/mobile/app/components/dialog/index.js
index c4788272d..1a36c035d 100644
--- a/apps/mobile/app/components/dialog/index.js
+++ b/apps/mobile/app/components/dialog/index.js
@@ -110,6 +110,7 @@ export const Dialog = ({ context = "global" }) => {
setChecked(false);
values.current.inputValue = undefined;
setVisible(false);
+ dialogInfo.onClose();
};
const onNegativePress = async () => {