diff options
author | Ivan Chen <ivan@tagg.id> | 2021-07-07 16:19:38 -0400 |
---|---|---|
committer | Ivan Chen <ivan@tagg.id> | 2021-07-09 15:56:35 -0400 |
commit | 160eaf8084deb21d15fe03e6984a5bb057a57e94 (patch) | |
tree | e642dd826286f794a4db2f6754c1757a811e587e /src/screens/profile/CaptionScreen.tsx | |
parent | 933b27e8d1f03b9d07f99b9662503e68f6a6ac91 (diff) |
Add more styling to choosing category screen
Diffstat (limited to 'src/screens/profile/CaptionScreen.tsx')
-rw-r--r-- | src/screens/profile/CaptionScreen.tsx | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/screens/profile/CaptionScreen.tsx b/src/screens/profile/CaptionScreen.tsx index a8664d85..280319b4 100644 --- a/src/screens/profile/CaptionScreen.tsx +++ b/src/screens/profile/CaptionScreen.tsx @@ -224,13 +224,15 @@ const CaptionScreen: React.FC<CaptionScreenProps> = ({route, navigation}) => { onPress: () => void; }> = ({text, imageUri, onPress}) => { return ( - <TouchableOpacity onPress={onPress} style={styles.tagFriendsContainer}> + <TouchableOpacity + onPress={onPress} + style={styles.selectableItemContainer}> <View style={styles.row}> {text === 'Category' && !momentCategory && ( <Text style={styles.asteriskText}>* </Text> )} <Image style={styles.tagIcon} source={imageUri} /> - <Text style={styles.tagFriendsTitle}>{text}</Text> + <Text style={styles.selectableItemTitle}>{text}</Text> </View> <View style={styles.row}> {text === 'Tag Friends' && ( @@ -359,14 +361,14 @@ const styles = StyleSheet.create({ flex: { flex: 1, }, - tagFriendsTitle: { + selectableItemTitle: { color: 'white', fontSize: normalize(14), lineHeight: normalize(16.71), letterSpacing: normalize(0.3), fontWeight: '600', }, - tagFriendsContainer: { + selectableItemContainer: { marginHorizontal: '5%', flexDirection: 'row', justifyContent: 'space-between', |