qml: refactor all custom QRScan component wrappers to ScanDialog
(except SendDialog, which has a Paste button and slightly different behavior)
This commit is contained in:
@@ -15,7 +15,7 @@ ElDialog {
|
||||
signal txFound(data: string)
|
||||
signal channelBackupFound(data: string)
|
||||
|
||||
header: Item {}
|
||||
header: null
|
||||
padding: 0
|
||||
topPadding: 0
|
||||
|
||||
@@ -39,9 +39,10 @@ ElDialog {
|
||||
|
||||
QRScan {
|
||||
id: qrscan
|
||||
Layout.preferredWidth: parent.width
|
||||
Layout.fillWidth: true
|
||||
Layout.fillHeight: true
|
||||
|
||||
hint: qsTr('Scan an Invoice, an Address, an LNURL-pay, a PSBT or a Channel backup')
|
||||
onFound: dialog.dispatch(scanData)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user