Skip to content

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

fix incorrect handler for actionsheet close event

ammarahm-ed1fff0c3afe45
diff --git a/apps/mobile/src/components/DialogManager/index.js b/apps/mobile/src/components/DialogManager/index.js
index 730485dc1..6a7c82307 100644
--- a/apps/mobile/src/components/DialogManager/index.js
+++ b/apps/mobile/src/components/DialogManager/index.js
@@ -167,7 +167,7 @@ export class DialogManager extends Component {
eUnSubscribeEvent(eOnLoadNote, this.loadNote);
eUnSubscribeEvent(eOpenActionSheet, this._showActionSheet);
- eUnSubscribeEvent(eCloseActionSheet, this._hideSimpleDialog);
+ eUnSubscribeEvent(eCloseActionSheet, this._hideActionSheet);
eUnSubscribeEvent(eOpenSimpleDialog, this._showSimpleDialog);
eUnSubscribeEvent(eCloseSimpleDialog, this._hideSimpleDialog);