From 625cc3bf700ff9350582bb28f9d154b1c9fb23a6 Mon Sep 17 00:00:00 2001
From: Ivan Chen <ivan@tagg.id>
Date: Mon, 26 Jul 2021 19:04:49 -0400
Subject: Fix dup style

---
 src/components/comments/CommentTextField.tsx | 25 +++++++++++--------------
 1 file changed, 11 insertions(+), 14 deletions(-)

(limited to 'src/components/comments/CommentTextField.tsx')

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',
   },
-- 
cgit v1.2.3-70-g09d2

