From c8f0cf354390af1908b3f99e5621eed8c1fab9ed Mon Sep 17 00:00:00 2001 From: stoffu Date: Tue, 6 Mar 2018 01:19:45 +0900 Subject: Stagenet --- LeftPanel.qml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'LeftPanel.qml') diff --git a/LeftPanel.qml b/LeftPanel.qml index c88b34f4..89c17bf5 100644 --- a/LeftPanel.qml +++ b/LeftPanel.qml @@ -29,6 +29,7 @@ import QtQuick 2.2 import QtGraphicalEffects 1.0 import moneroComponents.Wallet 1.0 +import moneroComponents.NetworkType 1.0 import "components" Rectangle { @@ -104,8 +105,8 @@ Rectangle { Text { id: testnetLabel - visible: persistentSettings.testnet - text: qsTr("Testnet") + translationManager.emptyString + visible: persistentSettings.nettype !== NetworkType.MAINNET + text: (persistentSettings.nettype === NetworkType.TESTNET ? qsTr("Testnet") : qsTr("Stagenet")) + translationManager.emptyString anchors.top: logo.bottom anchors.topMargin: 5 anchors.left: viewOnly ? viewOnlyLabel.right : parent.left -- cgit v1.2.3