-
-
Save Ashoat/a7e7482aa9efe9f365c27d585de535b4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/lib/types/media-types.js b/lib/types/media-types.js | |
index 83bf6f655..bf4161260 100644 | |
--- a/lib/types/media-types.js | |
+++ b/lib/types/media-types.js | |
@@ -50,12 +50,10 @@ export type Corners = Shape<{ | |
export type MediaInfo = | |
| { | |
...Image, | |
- +corners: Corners, | |
+index: number, | |
} | |
| { | |
...Video, | |
- +corners: Corners, | |
+index: number, | |
}; | |
diff --git a/native/chat/inner-multimedia-message.react.js b/native/chat/inner-multimedia-message.react.js | |
index 2661d8818..7af250fbe 100644 | |
--- a/native/chat/inner-multimedia-message.react.js | |
+++ b/native/chat/inner-multimedia-message.react.js | |
@@ -119,7 +119,6 @@ class InnerMultimediaMessage extends React.PureComponent<Props> { | |
const { pendingUploads } = this.props.item; | |
const mediaInfo = { | |
...media, | |
- corners: filteredCorners, | |
index, | |
}; | |
const pendingUpload = pendingUploads && pendingUploads[media.id]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment