Merge pull request #1320

f04a9e0 single colour privacy level
pull/2/head
luigi1111 6 years ago
commit d72e9873d1
No known key found for this signature in database
GPG Key ID: F4ACA0183641E010

@ -62,11 +62,7 @@ Item {
//radius: 2
width: row.x
color: {
if(item.fillLevel < 3) return "#FF6C3C"
if(item.fillLevel < 13) return "#AAFFBB"
return "#36B25C"
}
color: "#FF6C3C"
Timer {
interval: 500

@ -71,11 +71,7 @@ Item {
//radius: 2
width: row.x
color: {
if(item.fillLevel < 5) return "#FF6C3C"
if(item.fillLevel < 13) return "#AAFFBB"
return "#36B25C"
}
color: "#FF6C3C"
Timer {
interval: 500

@ -79,7 +79,7 @@ Rectangle {
var mixin = scaleValueToMixinCount(fillLevel)
console.log("PrivacyLevel changed:" + fillLevel)
console.log("mixin count: " + mixin)
privacyLabel.text = qsTr("Privacy level (ringsize %1)").arg(mixin+1) + translationManager.emptyString
privacyLabel.text = qsTr("Ring size: %1").arg(mixin+1) + translationManager.emptyString
}
function updateFromQrCode(address, payment_id, amount, tx_description, recipient_name) {