aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShravya Ramesh <shravs1208@gmail.com>2021-03-18 15:33:45 -0700
committerShravya Ramesh <shravs1208@gmail.com>2021-03-18 15:33:45 -0700
commitdba4d3fa7bb174ae2c0c5324e41144508b5dc8ed (patch)
tree8a4ed02c4b61542aa647297281a2d0846cb3f074
parent8d243eef5db576c053d521d082feb87a1a834558 (diff)
style
-rw-r--r--src/screens/profile/InviteFriendsScreen.tsx14
1 files changed, 4 insertions, 10 deletions
diff --git a/src/screens/profile/InviteFriendsScreen.tsx b/src/screens/profile/InviteFriendsScreen.tsx
index c98b90f8..0abac136 100644
--- a/src/screens/profile/InviteFriendsScreen.tsx
+++ b/src/screens/profile/InviteFriendsScreen.tsx
@@ -174,7 +174,7 @@ const InviteFriendsScreen: React.FC<InviteFriendsScreenProps> = ({
<StatusBar barStyle="dark-content" />
<View style={styles.body}>
<View style={styles.headerContainer}>
- <Text style={styles.headerText}>
+ <Text style={styles.subheaderText}>
Sharing is caring, invite friends, and create moments together!
</Text>
</View>
@@ -230,16 +230,9 @@ const styles = StyleSheet.create({
backgroundColor: '#fff',
},
headerContainer: {
- width: 319,
- height: 42,
- alignSelf: 'center',
- marginBottom: '2%',
- },
- headerText: {
- alignSelf: 'center',
width: SCREEN_WIDTH * 0.85,
- marginBottom: '5%',
- textAlign: 'center',
+ height: 50,
+ alignSelf: 'center',
},
nonUsersFlatListContainer: {paddingBottom: 130},
subheader: {
@@ -253,6 +246,7 @@ const styles = StyleSheet.create({
fontWeight: '600',
lineHeight: normalize(14.32),
marginBottom: '5%',
+ textAlign: 'center',
},
container: {
alignSelf: 'center',