We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f671d5d commit 1b0b08dCopy full SHA for 1b0b08d
package/src/components/Attachment/Gallery.tsx
@@ -224,6 +224,8 @@ const GalleryWithContext = <
224
225
const defaultOnPress = () => {
226
if (type === 'video' && !isVideoPackageAvailable()) {
227
+ // This condition is kinda unreachable, since we render videos as file attachment if the video
228
+ // library is not installed. But doesn't hurt to have extra safeguard, in case of some customizations.
229
openUrlSafely(url);
230
} else {
231
openImageViewer();
0 commit comments