We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6531063 commit 16a22cdCopy full SHA for 16a22cd
src/qml/pages/wallet/RequestPayment.qml
@@ -221,19 +221,26 @@ Page {
221
clearRequest.visible = false
222
title.text = qsTr("Request a payment")
223
address.text = ""
224
+ qrImage.code = ""
225
continueButton.text = qsTr("Create bitcoin address")
226
}
227
228
229
- Rectangle {
230
- id: qrPlaceholder
+ Pane {
231
Layout.alignment: Qt.AlignTop
232
Layout.minimumWidth: 150
233
- Layout.maximumWidth: 150
234
- color: Theme.color.neutral2
235
- width: 150
236
- height: 150
+ Layout.minimumHeight: 150
+ padding: 0
+ background: Rectangle {
+ color: Theme.color.neutral2
237
+ visible: qrImage.code === ""
238
+ }
239
+ contentItem: QRImage {
240
+ id: qrImage
241
+ backgroundColor: "transparent"
242
+ foregroundColor: Theme.color.neutral9
243
244
245
246
0 commit comments