about summary refs log tree commit diff
path: root/src/view/com/modals/ServerInput.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/view/com/modals/ServerInput.tsx')
-rw-r--r--src/view/com/modals/ServerInput.tsx15
1 files changed, 13 insertions, 2 deletions
diff --git a/src/view/com/modals/ServerInput.tsx b/src/view/com/modals/ServerInput.tsx
index c885ff164..15632ba39 100644
--- a/src/view/com/modals/ServerInput.tsx
+++ b/src/view/com/modals/ServerInput.tsx
@@ -1,5 +1,5 @@
 import React, {useState} from 'react'
-import {StyleSheet, Text, TextInput, TouchableOpacity, View} from 'react-native'
+import {Platform, StyleSheet, Text, TouchableOpacity, View} from 'react-native'
 import {FontAwesomeIcon} from '@fortawesome/react-native-fontawesome'
 import {BottomSheetScrollView, BottomSheetTextInput} from '@gorhom/bottom-sheet'
 import {useStores} from '../../../state'
@@ -76,7 +76,7 @@ export function Component({
               onPress={() => doSelect(customUrl)}>
               <FontAwesomeIcon
                 icon="check"
-                style={[s.black, {position: 'relative', top: 2}]}
+                style={[s.black, styles.checkIcon]}
                 size={18}
               />
             </TouchableOpacity>
@@ -133,4 +133,15 @@ const styles = StyleSheet.create({
     fontWeight: '500',
     color: colors.white,
   },
+  checkIcon: {
+    position: 'relative',
+    ...Platform.select({
+      android: {
+        top: 8,
+      },
+      ios: {
+        top: 2,
+      },
+    }),
+  },
 })