mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-02-23 07:15:35 +01:00
FIX: Dont allow zero invoices to enable create invoice button
This commit is contained in:
parent
285bc7c323
commit
ef1772c419
1 changed files with 1 additions and 1 deletions
|
@ -159,7 +159,7 @@ export default class LNDCreateInvoice extends Component {
|
||||||
{this.state.isLoading ? (
|
{this.state.isLoading ? (
|
||||||
<ActivityIndicator />
|
<ActivityIndicator />
|
||||||
) : (
|
) : (
|
||||||
<BlueButton disabled={!this.state.amount > 0} onPress={() => this.createInvoice()} title={loc.send.details.create} />
|
<BlueButton disabled={!(this.state.amount > 0)} onPress={() => this.createInvoice()} title={loc.send.details.create} />
|
||||||
)}
|
)}
|
||||||
</View>
|
</View>
|
||||||
);
|
);
|
||||||
|
|
Loading…
Add table
Reference in a new issue