about summary refs log tree commit diff
path: root/src/view/shell/index.web.tsx
diff options
context:
space:
mode:
authorAnsh <anshnanda10@gmail.com>2023-09-29 10:49:59 +0700
committerGitHub <noreply@github.com>2023-09-29 07:49:59 +0400
commit04fda0f1429d26586d308a619f91d4504bdd3521 (patch)
treeee215dddc5bfd6385605383a48ca60e3e6f9631f /src/view/shell/index.web.tsx
parent1f60e1a7486013ad84dcc386d226f4225b67c1d3 (diff)
downloadvoidsky-04fda0f1429d26586d308a619f91d4504bdd3521.tar.zst
Fix 1405 handle android back button in composer (#1446)
* handle android back button in composer

* improve backHandler error handling

* simplify composer onClose functionality
Diffstat (limited to 'src/view/shell/index.web.tsx')
-rw-r--r--src/view/shell/index.web.tsx1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/view/shell/index.web.tsx b/src/view/shell/index.web.tsx
index 67f988844..3f2fed69b 100644
--- a/src/view/shell/index.web.tsx
+++ b/src/view/shell/index.web.tsx
@@ -48,7 +48,6 @@ const ShellInner = observer(function ShellInnerImpl() {
       )}
       <Composer
         active={store.shell.isComposerActive}
-        onClose={() => store.shell.closeComposer()}
         winHeight={0}
         replyTo={store.shell.composerOpts?.replyTo}
         quote={store.shell.composerOpts?.quote}