diff options
Diffstat (limited to 'src/view/shell')
-rw-r--r-- | src/view/shell/Composer.web.tsx | 9 | ||||
-rw-r--r-- | src/view/shell/index.web.tsx | 1 |
2 files changed, 9 insertions, 1 deletions
diff --git a/src/view/shell/Composer.web.tsx b/src/view/shell/Composer.web.tsx index c165c2a15..e3994bb23 100644 --- a/src/view/shell/Composer.web.tsx +++ b/src/view/shell/Composer.web.tsx @@ -9,12 +9,14 @@ export const Composer = observer( ({ active, replyTo, + quote, onPost, onClose, }: { active: boolean winHeight: number replyTo?: ComposerOpts['replyTo'] + quote: ComposerOpts['quote'] onPost?: ComposerOpts['onPost'] onClose: () => void }) => { @@ -30,7 +32,12 @@ export const Composer = observer( return ( <View style={styles.mask}> <View style={[styles.container, pal.view]}> - <ComposePost replyTo={replyTo} onPost={onPost} onClose={onClose} /> + <ComposePost + replyTo={replyTo} + quote={quote} + onPost={onPost} + onClose={onClose} + /> </View> </View> ) diff --git a/src/view/shell/index.web.tsx b/src/view/shell/index.web.tsx index 54aba48f0..24cce188c 100644 --- a/src/view/shell/index.web.tsx +++ b/src/view/shell/index.web.tsx @@ -33,6 +33,7 @@ const ShellInner = observer(() => { onClose={() => store.shell.closeComposer()} winHeight={0} replyTo={store.shell.composerOpts?.replyTo} + quote={store.shell.composerOpts?.quote} onPost={store.shell.composerOpts?.onPost} /> <ModalsContainer /> |