aboutsummaryrefslogtreecommitdiff
path: root/src/components/comments/ZoomInCropper.tsx
diff options
context:
space:
mode:
authorShravya Ramesh <shravs1208@gmail.com>2021-06-22 08:44:12 -0700
committerShravya Ramesh <shravs1208@gmail.com>2021-06-22 08:44:12 -0700
commit706a6c77971a10d8d45d1b3e189eadc28f89841e (patch)
tree11f1547b1903b94c63614b15206c81cccf6a8b44 /src/components/comments/ZoomInCropper.tsx
parent4cb6ccf53bc7bf6a6749e9b04c7e1dd057aab56e (diff)
Fix lint errors
Diffstat (limited to 'src/components/comments/ZoomInCropper.tsx')
-rw-r--r--src/components/comments/ZoomInCropper.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/components/comments/ZoomInCropper.tsx b/src/components/comments/ZoomInCropper.tsx
index f3fb5c05..25301e6a 100644
--- a/src/components/comments/ZoomInCropper.tsx
+++ b/src/components/comments/ZoomInCropper.tsx
@@ -130,7 +130,7 @@ export const ZoomInCropper: React.FC<ZoomInCropperProps> = ({
<CloseIcon height={25} width={25} color={'white'} />
</TouchableOpacity>
<ImageZoom
- style={{backgroundColor: 'black'}}
+ style={styles.zoomView}
cropWidth={SCREEN_WIDTH}
cropHeight={SCREEN_HEIGHT}
imageWidth={SCREEN_WIDTH}
@@ -180,4 +180,5 @@ const styles = StyleSheet.create({
letterSpacing: normalize(1.3),
textAlign: 'center',
},
+ zoomView: {backgroundColor: 'black'},
});