diff --git a/src/lib/icons.tsx b/src/lib/icons.tsx index fd233f99..300c13b0 100644 --- a/src/lib/icons.tsx +++ b/src/lib/icons.tsx @@ -420,7 +420,7 @@ export function RepostIcon({ size = 24, strokeWidth = 1.5, }: { - style?: StyleProp + style?: StyleProp size?: string | number strokeWidth: number }) { diff --git a/src/view/com/modals/Repost.tsx b/src/view/com/modals/Repost.tsx index 6ab15317..b4669a04 100644 --- a/src/view/com/modals/Repost.tsx +++ b/src/view/com/modals/Repost.tsx @@ -29,7 +29,7 @@ export function Component({ - + {!isReposted ? 'Repost' : 'Undo repost'} diff --git a/src/view/shell/Composer.web.tsx b/src/view/shell/Composer.web.tsx index c165c2a1..e3994bb2 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 ( - + ) diff --git a/src/view/shell/index.web.tsx b/src/view/shell/index.web.tsx index 54aba48f..24cce188 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} />