mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-02-22 23:08:07 +01:00
Align send max option on the UI
Align send max option on the UI
This commit is contained in:
parent
221df24100
commit
3cee26be26
1 changed files with 5 additions and 5 deletions
|
@ -777,16 +777,16 @@ export class BlueUseAllFundsButton extends Component {
|
|||
backgroundColor: '#eef0f4',
|
||||
}}
|
||||
>
|
||||
<View style={{ flexDirection: 'row', justifyContent: 'flex-start', alignItems: 'center' }}>
|
||||
<Text style={{ color: BlueApp.settings.alternativeTextColor, fontSize: 16, marginHorizontal: 8 }}>
|
||||
Total: {this.props.wallet.getBalance()} {BitcoinUnit.BTC}
|
||||
<View style={{ flexDirection: 'row', justifyContent: 'flex-start', alignItems: 'flex-start' }}>
|
||||
<Text style={{ color: BlueApp.settings.alternativeTextColor, fontSize: 16, marginLeft: 8, marginRight: 0, paddingRight: 0, paddingLeft: 0, paddingTop: 12, paddingBottom: 12 }}>
|
||||
{this.props.wallet.getBalance()} {BitcoinUnit.BTC}
|
||||
</Text>
|
||||
{this.props.wallet.allowSendMax() && this.props.wallet.balance > 0 && (
|
||||
<BlueButtonLink title="Use All" onPress={this.props.onUseAllPressed} />
|
||||
<BlueButtonLink style={{ marginLeft: 8, paddingRight: 0, paddingLeft: 0, paddingTop: 12, paddingBottom: 12 }} title="Use All" onPress={this.props.onUseAllPressed} />
|
||||
)}
|
||||
</View>
|
||||
<View style={{ flexDirection: 'row', justifyContent: 'flex-end', alignItems: 'flex-end' }}>
|
||||
<BlueButtonLink title="Done" onPress={Keyboard.dismiss} />
|
||||
<BlueButtonLink style={{ paddingRight: 8, paddingLeft: 0, paddingTop: 12, paddingBottom: 12 }} title="Done" onPress={Keyboard.dismiss} />
|
||||
</View>
|
||||
</View>
|
||||
);
|
||||
|
|
Loading…
Add table
Reference in a new issue