Skip to content

Commit

Permalink
ThumbnailImage add style to opacity
Browse files Browse the repository at this point in the history
  • Loading branch information
JosueEchandiaAsto committed Jun 17, 2022
1 parent 0a33d88 commit 72ed0e5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ const ImageRenderer = (props) => {
return imagePreviewModalDisabled ? (
<ThumbnailImage
previewSourceURL={previewSource}
style={styles.webViewStyles.tagStyles.img}
style={[styles.webViewStyles.tagStyles.img, styles.opacityImageLoading]}
isAuthTokenRequired={isAttachment}
imageWidth={imageWidth}
imageHeight={imageHeight}
Expand Down
4 changes: 3 additions & 1 deletion src/styles/styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,9 @@ const styles = {
opacity0: {
opacity: 0,
},

opacityImageLoading: {
opacity: 0.6,
},
opacity1: {
opacity: 1,
},
Expand Down

0 comments on commit 72ed0e5

Please sign in to comment.