mirror of
https://github.com/monero-project/monero-gui.git
synced 2026-04-09 12:47:26 -04:00
Toggle hiding balance via Settings->Layout->Hide balance
This commit is contained in:
@@ -49,7 +49,7 @@ Rectangle {
|
||||
anchors.right: parent.right
|
||||
anchors.margins: (isMobile)? 17 : 20
|
||||
anchors.topMargin: 0
|
||||
spacing: 0
|
||||
spacing: 6 * scaleRatio
|
||||
|
||||
MoneroComponents.CheckBox {
|
||||
visible: !isMobile
|
||||
@@ -59,6 +59,17 @@ Rectangle {
|
||||
text: qsTr("Custom decorations") + translationManager.emptyString
|
||||
}
|
||||
|
||||
MoneroComponents.CheckBox {
|
||||
visible: !isMobile
|
||||
id: hideBalanceCheckBox
|
||||
checked: persistentSettings.hideBalance
|
||||
onClicked: {
|
||||
persistentSettings.hideBalance = !persistentSettings.hideBalance
|
||||
appWindow.updateBalance();
|
||||
}
|
||||
text: qsTr("Hide balance") + translationManager.emptyString
|
||||
}
|
||||
|
||||
MoneroComponents.TextBlock {
|
||||
visible: isMobile
|
||||
font.pixelSize: 14
|
||||
|
||||
Reference in New Issue
Block a user