Update BlueComponents.js

This commit is contained in:
Marcos Rodriguez Vélez 2019-08-07 10:29:28 -04:00 committed by Overtorment
parent ff0f7d17b9
commit ae519aceb9

View file

@ -792,7 +792,7 @@ export class BlueUseAllFundsButton extends Component {
>
Total:
</Text>
{this.props.wallet.allowSendMax() ? (
{this.props.wallet.allowSendMax() && this.props.wallet.getBalance() > 0 ? (
<BlueButtonLink
onPress={this.props.onUseAllPressed}
style={{ marginLeft: 8, paddingRight: 0, paddingLeft: 0, paddingTop: 12, paddingBottom: 12 }}