diff options
author | Ivan Chen <ivan@tagg.id> | 2021-07-27 13:29:38 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-27 13:29:38 -0400 |
commit | 15ad08120d20a2bc4beb8b00550b51f35a567099 (patch) | |
tree | 9dcb450adccca968df763d6df351dca2333a77c9 /src/components/comments/CommentTextField.tsx | |
parent | 32a81a23e386c58692ab7e61fcd3ad1f510613a2 (diff) | |
parent | 625cc3bf700ff9350582bb28f9d154b1c9fb23a6 (diff) |
Merge pull request #526 from shravyaramesh/tma977-style-comment-send-button
[TMA-977] Hide blue line
Diffstat (limited to 'src/components/comments/CommentTextField.tsx')
-rw-r--r-- | src/components/comments/CommentTextField.tsx | 23 |
1 files changed, 10 insertions, 13 deletions
diff --git a/src/components/comments/CommentTextField.tsx b/src/components/comments/CommentTextField.tsx index 6d86eb3f..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( |