From 68fe35c74d231f61eb1c535c0395782b131ffdf8 Mon Sep 17 00:00:00 2001 From: enahum Date: Wed, 7 Mar 2018 14:23:06 +0000 Subject: [PATCH] Fix iOS Options modal cancel press (#1488) --- app/screens/options_modal/options_modal.js | 2 +- app/screens/options_modal/options_modal_list.ios.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/screens/options_modal/options_modal.js b/app/screens/options_modal/options_modal.js index 8c098d298..f1b6d64bb 100644 --- a/app/screens/options_modal/options_modal.js +++ b/app/screens/options_modal/options_modal.js @@ -80,7 +80,7 @@ export default class OptionsModal extends PureComponent { } = this.props; return ( - + { - if (this.onCancelPress) { - this.onCancelPress(); + if (this.props.onCancelPress) { + this.props.onCancelPress(); } });