Recherche page d'accueil

This commit is contained in:
Brice Zele 2022-04-12 08:27:40 +01:00
parent 52e69106b8
commit 1b0184cfec
1 changed files with 12 additions and 5 deletions

View File

@ -2125,7 +2125,14 @@ class Home extends BaseScreen {
>
<View>
<TextInput
style={{marginTop: 10, height: 46, borderRadius: 5, borderWidth: 1, borderColor: "#ccc"}}
style={{
marginTop: 10,
width: responsiveWidth(90),
height: 46,
borderRadius: 5,
borderWidth: 1,
borderColor: "#ccc"
}}
placeholder={this.state.isPhoneAssureSearch ? I18n.t('PHONE') : I18n.t('NAME')}
value={this.state.userName}
keyboardType={this.state.isPhoneAssureSearch ? 'numeric' : 'default'}
@ -2145,12 +2152,12 @@ class Home extends BaseScreen {
flexDirection: 'row',
position: 'absolute',
top: 22,
right: 50,
right: 70,
justifyContent: 'space-between',
width: 50
}}>
<FontAwesomeIcon
style={{paddingRight: 5}}
style={{paddingRight: 20}}
name='phone'
size={20}
color={Color.primaryColor}
@ -2162,7 +2169,7 @@ class Home extends BaseScreen {
}}
/>
<FontAwesomeIcon
style={{paddingRight: 5}}
style={{paddingRight: 20}}
name='user'
size={20}
color={Color.primaryColor}
@ -2174,7 +2181,7 @@ class Home extends BaseScreen {
}}
/>
<FontAwesomeIcon
style={{paddingRight: 5}}
style={{paddingRight: 20}}
name="qrcode"
size={20}
color={Color.primaryColor}