1
0

add initial submarine swap functionality

This commit is contained in:
Sander van Grieken
2022-06-30 15:06:45 +02:00
parent a44f8d9b3b
commit b2fafcb428
6 changed files with 565 additions and 4 deletions

View File

@@ -251,6 +251,13 @@ ApplicationWindow
dialog.open()
}
}
// TODO: add to notification queue instead of barging through
function onPaymentSucceeded(key) {
notificationPopup.show(qsTr('Payment Succeeded'))
}
function onPaymentFailed(key, reason) {
notificationPopup.show(qsTr('Payment Failed') + ': ' + reason)
}
}
Connections {