about summary refs log tree commit diff
path: root/src/view/shell
diff options
context:
space:
mode:
Diffstat (limited to 'src/view/shell')
-rw-r--r--src/view/shell/mobile/Composer.tsx9
-rw-r--r--src/view/shell/mobile/index.tsx1
2 files changed, 9 insertions, 1 deletions
diff --git a/src/view/shell/mobile/Composer.tsx b/src/view/shell/mobile/Composer.tsx
index 1a2d2d24d..84268936d 100644
--- a/src/view/shell/mobile/Composer.tsx
+++ b/src/view/shell/mobile/Composer.tsx
@@ -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>
     )
   },
diff --git a/src/view/shell/mobile/index.tsx b/src/view/shell/mobile/index.tsx
index 54df5dd17..b1d00adc1 100644
--- a/src/view/shell/mobile/index.tsx
+++ b/src/view/shell/mobile/index.tsx
@@ -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>