File tree Expand file tree Collapse file tree 1 file changed +13
-6
lines changed Expand file tree Collapse file tree 1 file changed +13
-6
lines changed Original file line number Diff line number Diff line change @@ -221,19 +221,26 @@ Page {
221
221
clearRequest .visible = false
222
222
title .text = qsTr (" Request a payment" )
223
223
address .text = " "
224
+ qrImage .code = " "
224
225
continueButton .text = qsTr (" Create bitcoin address" )
225
226
}
226
227
}
227
228
}
228
229
229
- Rectangle {
230
- id: qrPlaceholder
230
+ Pane {
231
231
Layout .alignment : Qt .AlignTop
232
232
Layout .minimumWidth : 150
233
- Layout .maximumWidth : 150
234
- color: Theme .color .neutral2
235
- width: 150
236
- height: 150
233
+ Layout .minimumHeight : 150
234
+ padding: 0
235
+ background: Rectangle {
236
+ color: Theme .color .neutral2
237
+ visible: qrImage .code === " "
238
+ }
239
+ contentItem: QRImage {
240
+ id: qrImage
241
+ backgroundColor: " transparent"
242
+ foregroundColor: Theme .color .neutral9
243
+ }
237
244
}
238
245
}
239
246
}
You can’t perform that action at this time.
0 commit comments