about summary refs log tree commit diff
path: root/src/view/com/composer/Composer.tsx
diff options
context:
space:
mode:
authorHailey <me@haileyok.com>2024-09-26 12:37:51 -0700
committerGitHub <noreply@github.com>2024-09-26 12:37:51 -0700
commit7ee67e4e7e10a808f8e885efea4caf0465ee9619 (patch)
tree871ffa8fad2b864a67da4a067b50c50a932ad998 /src/view/com/composer/Composer.tsx
parent175df72972343795a67be208e58edb02267e1ced (diff)
downloadvoidsky-7ee67e4e7e10a808f8e885efea4caf0465ee9619.tar.zst
[Share Extension] Move away from deprecated API, implement JS side of things (#5509)
Diffstat (limited to 'src/view/com/composer/Composer.tsx')
-rw-r--r--src/view/com/composer/Composer.tsx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/view/com/composer/Composer.tsx b/src/view/com/composer/Composer.tsx
index 3b7cf1385..49ce0d442 100644
--- a/src/view/com/composer/Composer.tsx
+++ b/src/view/com/composer/Composer.tsx
@@ -137,6 +137,7 @@ export const ComposePost = ({
   openEmojiPicker,
   text: initText,
   imageUris: initImageUris,
+  videoUri: initVideoUri,
   cancelRef,
 }: Props & {
   cancelRef?: React.RefObject<CancelRef>
@@ -199,6 +200,7 @@ export const ComposePost = ({
         onPressPublish(true)
       }
     },
+    initialVideoUri: initVideoUri,
   })
   const hasVideo = Boolean(videoUploadState.asset || videoUploadState.video)