fix: transaction request
This commit is contained in:
parent
9165564db0
commit
43e10aa4cf
|
@ -47,7 +47,7 @@ Popup {
|
|||
text: qsTrId("send-transaction")
|
||||
icon.color: Style.current.purple
|
||||
icon.name: "send"
|
||||
onClicked: localAccountSensitiveSettings.isWalletEnabled ? root.sendTransactionCommandButtonClicked() : confirmationPopup.open()
|
||||
onClicked: localAccountSensitiveSettings.isWalletEnabled ? root.sendTransactionCommandButtonClicked() : sendConfirmationPopup.open()
|
||||
}
|
||||
|
||||
|
||||
|
@ -57,11 +57,11 @@ Popup {
|
|||
icon.color: Style.current.orange
|
||||
icon.name: "send"
|
||||
icon.rotation: 180
|
||||
onClicked: localAccountSensitiveSettings.isWalletEnabled ? root.receiveTransactionCommandButtonClicked() : confirmationPopup.open()
|
||||
onClicked: localAccountSensitiveSettings.isWalletEnabled ? root.receiveTransactionCommandButtonClicked() : receiveConfirmationPopup.open()
|
||||
}
|
||||
|
||||
ConfirmationDialog {
|
||||
id: confirmationPopup
|
||||
id: sendConfirmationPopup
|
||||
showCancelButton: true
|
||||
confirmationText: qsTr("This feature is experimental and is meant for testing purposes by core contributors and the community. It's not meant for real use and makes no claims of security or integrity of funds or data. Use at your own risk.")
|
||||
confirmButtonLabel: qsTr("I understand")
|
||||
|
@ -75,5 +75,21 @@ Popup {
|
|||
close()
|
||||
}
|
||||
}
|
||||
|
||||
ConfirmationDialog {
|
||||
id: receiveConfirmationPopup
|
||||
showCancelButton: true
|
||||
confirmationText: qsTr("This feature is experimental and is meant for testing purposes by core contributors and the community. It's not meant for real use and makes no claims of security or integrity of funds or data. Use at your own risk.")
|
||||
confirmButtonLabel: qsTr("I understand")
|
||||
onConfirmButtonClicked: {
|
||||
localAccountSensitiveSettings.isWalletEnabled = true
|
||||
close()
|
||||
root.receiveTransactionCommandButtonClicked()
|
||||
}
|
||||
|
||||
onCancelButtonClicked: {
|
||||
close()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 76e867f1d848380de669c89eeb8ddff5d42b54fa
|
||||
Subproject commit 50881bfc5649f39215dfe96fc43a43b595bbecc1
|
Loading…
Reference in New Issue