Nano Sant OK

This commit is contained in:
Brice Zele 2022-06-08 12:30:08 +01:00
parent 823e4fe84b
commit b8dba05460
10 changed files with 1037 additions and 1047 deletions

2
App.js
View File

@ -245,8 +245,6 @@ const AppStack = createDrawerNavigator({
webviewScreen: WebviewScreen,
PDFViewerScreen: PDFViewerScreen,
}, {
initialRouteName: 'walletDetailUser'
})
}, {
contentComponent: OptionsMenu,

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB

View File

@ -759,5 +759,6 @@
"ETAT_ASSURANCE": "Etat assurance",
"PRIME_BASE": "Prime de base",
"PAYMENTS": "Paiements",
"SEE_MORE": "Voir plus"
"SEE_MORE": "Voir plus",
"MIANG_SLOGAN": "Miang, transfert d'argent national"
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 765 KiB

After

Width:  |  Height:  |  Size: 743 KiB

Binary file not shown.

View File

@ -155,14 +155,14 @@ class WalletDetailUser extends Component {
color: "white"
},
title: I18n.t('WALLET'),
headerLeft: (
/* headerLeft: (
<Entypo
name="menu"
color="#fff"
onPress={()=> {navigation.openDrawer()}}
size={24}
/>
)
)*/
}
};

View File

@ -1646,24 +1646,23 @@ class WalletOptionSelect extends Component {
: <View style={{flex: 1}}/>
}*/}
{this.state.user !== null ?
this.state.user.indicatif === '+241' && (this.state.type === 'DEPOT_USER' || this.state.type === 'RETRAIT_USER' || this.state.type === 'DEPOT' || this.state.type === 'RETRAIT') && <View
style={{
width: '100%',
marginTop: 20,
justifyContent: 'center',
alignItems: 'center',
flexDirection: 'column'
}}>
<Image source={require('../../datas/img/miang-logo.png')}
style={{width: 200, height: 200, borderRadius: 100, marginRight: 10}}/>
<Text style={{marginTop: 10}}>{I18n.t('MIANG_SLOGAN')}</Text>
</View> : null}
</ScrollView>
</View>
{this.state.user !== null ?
this.state.user.indicatif === '+241' && (this.state.type === 'DEPOT_USER' || this.state.type === 'RETRAIT_USER') && <View
style={{
width: '100%',
height: 50,
position: 'absolute',
bottom: 0,
justifyContent: 'center',
alignItems: 'center',
flexDirection: 'row'
}}>
<Image source={require('../../datas/img/miang-logo.png')}
style={{width: 30, height: 30, borderRadius: 15, marginRight: 10}}/>
<Text>{I18n.t('MIANG_SLOGAN')}</Text>
</View> : null}
</Provider>
);
}

View File

@ -760,5 +760,5 @@
"PRIME_BASE": "Prime de base",
"PAYMENTS": "Paiements",
"SEE_MORE": "Voir plus",
"MIANG_SLOGAN": "Miang, transfert d'argent national"
"MIANG_SLOGAN": "Transfert d'argent national"
}