diff options
author | Ivan Chen <ivan@tagg.id> | 2021-07-26 19:04:49 -0400 |
---|---|---|
committer | Ivan Chen <ivan@tagg.id> | 2021-07-26 19:04:49 -0400 |
commit | 625cc3bf700ff9350582bb28f9d154b1c9fb23a6 (patch) | |
tree | 9ec75808504c93016cfcd8f4158bf2fb35e200fe /src | |
parent | 241f416830bd6919321f3a17a3cca6807c5c4079 (diff) |
Fix dup style
Diffstat (limited to 'src')
-rw-r--r-- | src/components/comments/CommentTextField.tsx | 25 |
1 files changed, 11 insertions, 14 deletions
diff --git a/src/components/comments/CommentTextField.tsx b/src/components/comments/CommentTextField.tsx index 1b2142d4..f2e5251f 100644 --- a/src/components/comments/CommentTextField.tsx +++ b/src/components/comments/CommentTextField.tsx @@ -94,20 +94,17 @@ const CommentTextField: FC<CommentTextFieldProps> = ({ )} </Text> </TextInput> - <View style={styles.submitButton}> - <TouchableOpacity - style={ - comment === '' - ? [styles.submitButton, styles.greyButton] - : styles.submitButton - } - disabled={comment === ''} - onPress={addComment}> - <UpArrowIcon width={35} height={35} color={'white'} /> - </TouchableOpacity> - </View> + <TouchableOpacity + style={ + comment === '' + ? [styles.submitButton, styles.greyButton] + : styles.submitButton + } + disabled={comment === ''} + onPress={addComment}> + <UpArrowIcon width={35} height={35} color={'white'} /> + </TouchableOpacity> </View> - {validateInput(keyboardText) && ( partTypes.filter( @@ -147,7 +144,7 @@ const styles = StyleSheet.create({ borderRadius: 999, justifyContent: 'center', alignItems: 'center', - marginRight: '1%', + marginRight: '3%', marginVertical: '2%', alignSelf: 'flex-end', }, |