diff options
author | Ansh <anshnanda10@gmail.com> | 2023-09-29 10:49:59 +0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-29 07:49:59 +0400 |
commit | 04fda0f1429d26586d308a619f91d4504bdd3521 (patch) | |
tree | ee215dddc5bfd6385605383a48ca60e3e6f9631f /src/view/shell/Composer.tsx | |
parent | 1f60e1a7486013ad84dcc386d226f4225b67c1d3 (diff) | |
download | voidsky-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/Composer.tsx')
-rw-r--r-- | src/view/shell/Composer.tsx | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/view/shell/Composer.tsx b/src/view/shell/Composer.tsx index d7c6a80b7..219a594ed 100644 --- a/src/view/shell/Composer.tsx +++ b/src/view/shell/Composer.tsx @@ -11,7 +11,6 @@ export const Composer = observer(function ComposerImpl({ winHeight, replyTo, onPost, - onClose, quote, mention, }: { @@ -19,7 +18,6 @@ export const Composer = observer(function ComposerImpl({ winHeight: number replyTo?: ComposerOpts['replyTo'] onPost?: ComposerOpts['onPost'] - onClose: () => void quote?: ComposerOpts['quote'] mention?: ComposerOpts['mention'] }) { @@ -64,7 +62,6 @@ export const Composer = observer(function ComposerImpl({ <ComposePost replyTo={replyTo} onPost={onPost} - onClose={onClose} quote={quote} mention={mention} /> |