diff --git a/src/view/com/composer/Composer.tsx b/src/view/com/composer/Composer.tsx index d64f20a9f5..ac6fe6fed4 100644 --- a/src/view/com/composer/Composer.tsx +++ b/src/view/com/composer/Composer.tsx @@ -508,7 +508,11 @@ export const ComposePost = observer(function ComposePost({ title={_(msg`Discard draft?`)} description={_(msg`Are you sure you'd like to discard this draft?`)} onConfirm={() => { - discardPromptControl.close(onClose) + if (isWeb) { + onClose() + } else { + discardPromptControl.close(onClose) + } }} confirmButtonCta={_(msg`Discard`)} confirmButtonColor="negative"