@ -36,6 +36,14 @@ ElDialog {
Layout.rightMargin: constants . paddingLarge
Layout.rightMargin: constants . paddingLarge
Layout.bottomMargin: constants . paddingLarge
Layout.bottomMargin: constants . paddingLarge
InfoTextArea {
Layout.columnSpan: 2
Layout.fillWidth: true
compact: true
visible: invoiceParser . lnurlData [ 'min_sendable_sat' ] != invoiceParser . lnurlData [ 'max_sendable_sat' ]
text: qsTr ( 'Amount must be between %1 and %2 %3' ) . arg ( Config . formatSats ( invoiceParser . lnurlData [ 'min_sendable_sat' ] ) ) . arg ( Config . formatSats ( invoiceParser . lnurlData [ 'max_sendable_sat' ] ) ) . arg ( Config . baseUnit )
}
Label {
Label {
text: qsTr ( 'Provider' )
text: qsTr ( 'Provider' )
color: Material . accentColor
color: Material . accentColor
@ -93,26 +101,17 @@ ElDialog {
}
}
}
}
InfoTextArea {
Layout.columnSpan: 2
Layout.fillWidth: true
compact: true
visible: invoiceParser . lnurlData [ 'min_sendable_sat' ] != invoiceParser . lnurlData [ 'max_sendable_sat' ]
text: qsTr ( 'Amount must be between %1 and %2 %3' ) . arg ( Config . formatSats ( invoiceParser . lnurlData [ 'min_sendable_sat' ] ) ) . arg ( Config . formatSats ( invoiceParser . lnurlData [ 'max_sendable_sat' ] ) ) . arg ( Config . baseUnit )
}
Label {
Label {
Layout.columnSpan: 2
Layout.columnSpan: 2
visible: invoiceParser . lnurlData [ 'comment_allowed' ] > 0
visible: invoiceParser . lnurlData [ 'comment_allowed' ] > 0
text: qsTr ( 'Message' )
text: qsTr ( 'Message' )
color: Material . accentColor
color: Material . accentColor
}
}
TextArea {
ElTextArea {
id: comment
id: comment
Layout.columnSpan: 2
Layout.columnSpan: 2
Layout.fillWidth: true
Layout.fillWidth: true
Layout.leftMargin: constants . paddingLarge
Layout.minimumHeight: 160
Layout.minimumHeight: 80
visible: invoiceParser . lnurlData [ 'comment_allowed' ] > 0
visible: invoiceParser . lnurlData [ 'comment_allowed' ] > 0
wrapMode: TextEdit . Wrap
wrapMode: TextEdit . Wrap
placeholderText: qsTr ( 'Enter an (optional) message for the receiver' )
placeholderText: qsTr ( 'Enter an (optional) message for the receiver' )