1
0

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:
Sander van Grieken
2023-04-24 13:34:05 +02:00
parent 49df18c613
commit 6848b8f375
6 changed files with 55 additions and 105 deletions

View File

@@ -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)
}