diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/components/profile/Cover.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
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; |