diff --git a/native/chat/image-paste-modal.react.js b/native/chat/image-paste-modal.react.js
--- a/native/chat/image-paste-modal.react.js
+++ b/native/chat/image-paste-modal.react.js
@@ -51,18 +51,43 @@
filesystem.unlink(imagePasteStagingInfo.uri);
}, [imagePasteStagingInfo.uri, navigation]);
- return (
-
-
-
-
-
-
-
-
-
-
+ const safeAreaEdges = React.useMemo(() => ['top'], []);
+ const imageSource = React.useMemo(
+ () => ({ uri: imagePasteStagingInfo.uri }),
+ [imagePasteStagingInfo.uri],
);
+
+ const imagePasteModal = React.useMemo(
+ () => (
+
+
+
+
+
+
+
+
+
+
+ ),
+ [
+ cancel,
+ imageSource,
+ safeAreaEdges,
+ sendButtonDisabled,
+ sendImage,
+ styles.image,
+ styles.linebreak,
+ styles.modal,
+ styles.spacer,
+ ],
+ );
+
+ return imagePasteModal;
}
const unboundStyles = {