diff options
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/hooks/useIntentHandler.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/hooks/useIntentHandler.ts b/src/lib/hooks/useIntentHandler.ts index ce1d474d3..98ba4ec02 100644 --- a/src/lib/hooks/useIntentHandler.ts +++ b/src/lib/hooks/useIntentHandler.ts @@ -93,9 +93,10 @@ export function useComposeIntent() { // Whenever a video URI is present, we don't support adding images right now. if (videoUri) { + const [uri, width, height] = videoUri.split('|') openComposer({ text: text ?? undefined, - videoUri, + videoUri: {uri, width: Number(width), height: Number(height)}, }) return } |