Update compose prompt for isual balance and to include image button
This commit is contained in:
parent
9d6c4698a1
commit
bf03167ca6
7 changed files with 56 additions and 19 deletions
|
@ -10,12 +10,14 @@ export const Composer = observer(
|
|||
active,
|
||||
winHeight,
|
||||
replyTo,
|
||||
imagesOpen,
|
||||
onPost,
|
||||
onClose,
|
||||
}: {
|
||||
active: boolean
|
||||
winHeight: number
|
||||
replyTo?: ComposerOpts['replyTo']
|
||||
imagesOpen?: ComposerOpts['imagesOpen']
|
||||
onPost?: ComposerOpts['onPost']
|
||||
onClose: () => void
|
||||
}) => {
|
||||
|
@ -56,7 +58,12 @@ export const Composer = observer(
|
|||
|
||||
return (
|
||||
<Animated.View style={[styles.wrapper, wrapperAnimStyle]}>
|
||||
<ComposePost replyTo={replyTo} onPost={onPost} onClose={onClose} />
|
||||
<ComposePost
|
||||
replyTo={replyTo}
|
||||
imagesOpen={imagesOpen}
|
||||
onPost={onPost}
|
||||
onClose={onClose}
|
||||
/>
|
||||
</Animated.View>
|
||||
)
|
||||
},
|
||||
|
|
|
@ -484,6 +484,7 @@ export const MobileShell: React.FC = observer(() => {
|
|||
onClose={() => store.shell.closeComposer()}
|
||||
winHeight={winDim.height}
|
||||
replyTo={store.shell.composerOpts?.replyTo}
|
||||
imagesOpen={store.shell.composerOpts?.imagesOpen}
|
||||
onPost={store.shell.composerOpts?.onPost}
|
||||
/>
|
||||
</View>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue