diff --git a/app/views/ModalBlockView.tsx b/app/views/ModalBlockView.tsx index 1893b41fa..bb7f02344 100644 --- a/app/views/ModalBlockView.tsx +++ b/app/views/ModalBlockView.tsx @@ -171,16 +171,11 @@ class ModalBlockView extends React.Component void }) => { + cancel = async () => { const { data } = this.state; const { appId, viewId, view } = data; - // handle tablet case - if (closeModal) { - closeModal(); - } else { - Navigation.back(); - } + Navigation.back(); try { await triggerCancel({