From 2a71bd6c115feab24933a627c5cbd1b8d7ff6c0e Mon Sep 17 00:00:00 2001 From: dEBRUYNE-1 Date: Mon, 31 Oct 2016 19:28:48 +0100 Subject: [PATCH] Change default mixin to 4 & add mixin # to confirmation window --- main.qml | 5 +++-- pages/Transfer.qml | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/main.qml b/main.qml index 440b79f4..d527f276 100644 --- a/main.qml +++ b/main.qml @@ -372,11 +372,12 @@ ApplicationWindow { // here we show confirmation popup; transactionConfirmationPopup.title = qsTr("Confirmation") + translationManager.emptyString - transactionConfirmationPopup.text = qsTr("Please confirm transaction:\n\n") + transactionConfirmationPopup.text = qsTr("Please confirm transaction:\n") + qsTr("\nAddress: ") + address + qsTr("\nPayment ID: ") + paymentId - + qsTr("\nAmount: ") + walletManager.displayAmount(transaction.amount) + + qsTr("\n\nAmount: ") + walletManager.displayAmount(transaction.amount) + qsTr("\nFee: ") + walletManager.displayAmount(transaction.fee) + + qsTr("\n\nMixin: ") + mixinCount + translationManager.emptyString transactionConfirmationPopup.icon = StandardIcon.Question transactionConfirmationPopup.open() diff --git a/pages/Transfer.qml b/pages/Transfer.qml index ef46d39e..2ea3fb9a 100644 --- a/pages/Transfer.qml +++ b/pages/Transfer.qml @@ -39,7 +39,7 @@ Rectangle { color: "#F0EEEE" function scaleValueToMixinCount(scaleValue) { - var scaleToMixinCount = [2,3,4,5,5,5,6,7,8,9,10,15,20,25]; + var scaleToMixinCount = [4,5,6,7,8,9,10,11,12,13,14,15,20,25]; if (scaleValue < scaleToMixinCount.length) { return scaleToMixinCount[scaleValue]; } else {