mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-23 05:13:04 +03:00
Merge pull request #937 from esteemapp/bugfix/powerdown
Fixed power down screen bugs
This commit is contained in:
commit
1e0641c01a
@ -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"
|
||||
}
|
||||
}
|
||||
|
@ -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}
|
||||
|
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user