Skip to content

Commit 6128b56

Browse files
committed
fix: revert testing changes in gallery
1 parent 8132f05 commit 6128b56

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

package/src/components/Attachment/Gallery.tsx

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -444,15 +444,15 @@ const GalleryImageThumbnail = ({
444444
<ImageLoadingFailedIndicator onReloadImage={onReloadImage} />
445445
) : (
446446
<>
447-
{/*<GalleryImage*/}
448-
{/* onError={onError}*/}
449-
{/* onLoadEnd={onLoadEnd}*/}
450-
{/* onLoadStart={onLoadStart}*/}
451-
{/* resizeMode={thumbnail.resizeMode}*/}
452-
{/* style={gallery.image}*/}
453-
{/* uri={thumbnail.url}*/}
454-
{/*/>*/}
455-
{true ? <ImageLoadingIndicator /> : null}
447+
<GalleryImage
448+
onError={onError}
449+
onLoadEnd={onLoadEnd}
450+
onLoadStart={onLoadStart}
451+
resizeMode={thumbnail.resizeMode}
452+
style={gallery.image}
453+
uri={thumbnail.url}
454+
/>
455+
{isLoadingImage ? <ImageLoadingIndicator /> : null}
456456
</>
457457
)}
458458
</View>

0 commit comments

Comments
 (0)