mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-12-13 11:56:32 +02:00
Change default mixin to 4 & add mixin # to confirmation window
This commit is contained in:
parent
6c6b10855f
commit
2a71bd6c11
5
main.qml
5
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()
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user