Merge pull request #937 from esteemapp/bugfix/powerdown

Fixed power down screen bugs
This commit is contained in:
uğur erdal 2019-07-08 20:03:50 +03:00 committed by GitHub
commit 1e0641c01a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 4 deletions

View File

@ -296,13 +296,15 @@
"power_down": "Power Down",
"account": "Account",
"destination_accounts": "Destination Account(s)",
"amount_information": "Drag the sliderto adjust to amount",
"amount_information": "Drag the slider to adjust to amount",
"save": "Save",
"percent": "Percentage",
"percent_information": "Percentage of power down to this account",
"auto_vests": "Automatically power up to the target account",
"stop": "Stop",
"stop_information": "Are you sure to stop?",
"incoming_funds": "Incoming Funds"
"incoming_funds": "Incoming Funds",
"sc_power_down_error": "Steem connect setWithdrawVestingRoute not implemented yet.",
"estimated_weekly": "Estimated Weekly"
}
}

View File

@ -293,6 +293,9 @@ class PowerDownView extends Component {
style={styles.steemInformation}
text={`+ ${fundPerWeek.toFixed(3)} STEEM`}
/>
<Text style={styles.informationText}>
{intl.formatMessage({ id: 'transfer.estimated_weekly' })}
</Text>
<MainButton
style={styles.button}
isDisable={amount <= 0}

View File

@ -46,6 +46,7 @@ export default EStyleSheet.create({
marginTop: 30,
justifyContent: 'center',
alignItems: 'center',
fontWeight: 'bold',
},
stopButton: {
width: '$deviceWidth / 3',
@ -53,6 +54,7 @@ export default EStyleSheet.create({
justifyContent: 'center',
alignItems: 'center',
backgroundColor: 'red',
fontWeight: 'bold',
},
buttonText: {
color: 'white',
@ -111,7 +113,7 @@ export default EStyleSheet.create({
marginHorizontal: 30,
},
formButton: {
padding: 7,
padding: 12,
borderRadius: 5,
backgroundColor: '$primaryBlue',
marginTop: 5,
@ -126,7 +128,7 @@ export default EStyleSheet.create({
informationText: {
alignSelf: 'center',
color: '$iconColor',
marginLeft: 5,
margin: 10,
},
spInformation: {
backgroundColor: 'red',