File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
package/src/components/Attachment Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -151,13 +151,11 @@ const GalleryWithContext = <
151151 style = { [
152152 styles . galleryContainer ,
153153 {
154+ flexDirection : invertedDirections ? 'column' : 'row' ,
154155 height,
155156 width,
156157 } ,
157158 galleryContainer ,
158- {
159- flexDirection : invertedDirections ? 'column' : 'row' ,
160- } ,
161159 ] }
162160 testID = 'gallery-container'
163161 >
@@ -365,11 +363,11 @@ const GalleryThumbnail = <
365363 < VideoThumbnail
366364 style = { [
367365 borderRadius ,
368- image ,
369366 {
370367 height : thumbnail . height - 1 ,
371368 width : thumbnail . width - 1 ,
372369 } ,
370+ image ,
373371 ] }
374372 thumb_url = { thumbnail . thumb_url }
375373 />
@@ -457,11 +455,11 @@ const GalleryImageThumbnail = <
457455 resizeMode = { thumbnail . resizeMode }
458456 style = { [
459457 borderRadius ,
460- gallery . image ,
461458 {
462459 height : thumbnail . height - 1 ,
463460 width : thumbnail . width - 1 ,
464461 } ,
462+ gallery . image ,
465463 ] }
466464 uri = { thumbnail . url }
467465 />
You can’t perform that action at this time.
0 commit comments