initial android fixes

This commit is contained in:
João Ferreiro 2022-12-14 17:53:26 +00:00 committed by Paul Frazee
parent 0a3e7e63b2
commit 70f4debc0b
8 changed files with 43 additions and 19 deletions

View file

@ -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,
},
}),
},
})