|
|
@@ -125,7 +125,7 @@ export default class ProfileV2 extends Component {
|
|
|
return (
|
|
|
<ScrollView style={styles.container}>
|
|
|
{/* Profile Info */}
|
|
|
- <EndView/>
|
|
|
+ <EndView half/>
|
|
|
<Button
|
|
|
style={styles.cardView}
|
|
|
viewStyle={styles.profileView}
|
|
|
@@ -159,6 +159,7 @@ export default class ProfileV2 extends Component {
|
|
|
name='angle-right'/>
|
|
|
</Button>
|
|
|
<ShadowViewV2/>
|
|
|
+ <EndView half/>
|
|
|
{/* Wallet Info */}
|
|
|
<Button
|
|
|
style={styles.cardView}
|
|
|
@@ -185,8 +186,8 @@ export default class ProfileV2 extends Component {
|
|
|
style={styles.cardIcon}
|
|
|
source={require('../../images/user/card-wallet.png')}/>
|
|
|
<View style={styles.cardInfo}>
|
|
|
- <TextView style={styles.cardLabel}>{this.state.userInfo.groupWallet.walletName}</TextView>
|
|
|
- <TextView style={styles.cardPrimary}>{this.state.userInfo.groupWallet.expireTime}</TextView>
|
|
|
+ <TextView style={styles.cardLabel}>{this.state.userInfo.groupWallet.walletName}:</TextView>
|
|
|
+ <TextView style={styles.cardPrimary}>{this.state.userInfo.groupWallet.creditStr}, Expires on {this.state.userInfo.groupWallet.expireTime}</TextView>
|
|
|
</View>
|
|
|
</Button>
|
|
|
<ShadowViewV2/>
|
|
|
@@ -398,7 +399,7 @@ export default class ProfileV2 extends Component {
|
|
|
style={styles.deleteButton}
|
|
|
text={$t('profile.logout')}
|
|
|
textColor={textLight}
|
|
|
- elevation={16}
|
|
|
+ elevation={4}
|
|
|
onClick={() => this.logout()}
|
|
|
/>
|
|
|
</ScrollView>
|
|
|
@@ -453,7 +454,7 @@ const styles = StyleSheet.create({
|
|
|
},
|
|
|
cardView: {
|
|
|
zIndex: 2,
|
|
|
- marginTop: 0,
|
|
|
+ marginTop: 8,
|
|
|
marginLeft: 16,
|
|
|
marginRight: 16,
|
|
|
borderRadius: 10,
|
|
|
@@ -556,7 +557,7 @@ const styles = StyleSheet.create({
|
|
|
},
|
|
|
deleteButton: {
|
|
|
borderRadius: 4,
|
|
|
- ...$margin(4, 16, 16),
|
|
|
+ ...$margin(16, 16, 24),
|
|
|
backgroundColor: '#EA0A2A'
|
|
|
},
|
|
|
userTypeView: {
|