From 0bfff8844e113d36a538d2bb0109541a3edc95e6 Mon Sep 17 00:00:00 2001 From: Sander Ferdinand Date: Tue, 27 Mar 2018 20:41:15 +0200 Subject: nettype comparison needs to be loose --- LeftPanel.qml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'LeftPanel.qml') diff --git a/LeftPanel.qml b/LeftPanel.qml index acefa60f..b9577591 100644 --- a/LeftPanel.qml +++ b/LeftPanel.qml @@ -99,7 +99,6 @@ Rectangle { anchors.left: parent.left anchors.right: parent.right anchors.top: parent.top - // @TODO: customDecorations? anchors.topMargin: (persistentSettings.customDecorations)? 50 : 0 RowLayout { @@ -121,8 +120,8 @@ Rectangle { Text { id: testnetLabel - visible: persistentSettings.nettype - text: qsTr("Testnet") + translationManager.emptyString + visible: persistentSettings.nettype != NetworkType.MAINNET + text: (persistentSettings.nettype == NetworkType.TESTNET ? qsTr("Testnet") : qsTr("Stagenet")) + translationManager.emptyString anchors.top: parent.top anchors.topMargin: 8 anchors.left: parent.left -- cgit v1.2.3