change address-only handling: create amount=0 onchain invoice
invoicedialog auto enables edit mode when amount is 0
This commit is contained in:
@@ -325,5 +325,7 @@ ElDialog {
|
||||
if (invoice_key != '') {
|
||||
invoice.initFromKey(invoice_key)
|
||||
}
|
||||
if (invoice.amount.satsInt == 0)
|
||||
amountContainer.editmode = true
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user