From 321c1f9fc883b0f0accff614f0a995fd41c960fe Mon Sep 17 00:00:00 2001 From: Ashm Walia <40498934+ashmgarv@users.noreply.github.com> Date: Wed, 11 Nov 2020 11:01:33 -0800 Subject: Use the actual height for cover (#120) --- src/components/profile/Cover.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/components/profile/Cover.tsx b/src/components/profile/Cover.tsx index 37ecb9bd..36e41776 100644 --- a/src/components/profile/Cover.tsx +++ b/src/components/profile/Cover.tsx @@ -1,7 +1,7 @@ import React from 'react'; import {Image, StyleSheet} from 'react-native'; import Animated from 'react-native-reanimated'; -import {IMAGE_WIDTH, COVER_HEIGHT} from '../../constants'; +import {IMAGE_WIDTH, COVER_HEIGHT, IMAGE_HEIGHT} from '../../constants'; import {AuthContext, ProfileContext} from '../../routes/'; const {interpolate, Extrapolate} = Animated; @@ -38,7 +38,7 @@ const styles = StyleSheet.create({ }, image: { width: IMAGE_WIDTH, - height: COVER_HEIGHT, + height: IMAGE_HEIGHT, }, }); export default Cover; -- cgit v1.2.3-70-g09d2