From 70f4debc0b27cc5245cceaede2a50ec03c1d67d5 Mon Sep 17 00:00:00 2001
From: João Ferreiro <ferreiro@pinkroom.dev>
Date: Wed, 14 Dec 2022 17:53:26 +0000
Subject: initial android fixes

---
 src/view/com/modals/ServerInput.tsx | 15 +++++++++++++--
 1 file changed, 13 insertions(+), 2 deletions(-)

(limited to 'src/view/com/modals/ServerInput.tsx')

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,
+      },
+    }),
+  },
 })
-- 
cgit 1.4.1

