aboutsummaryrefslogtreecommitdiff
path: root/LeftPanel.qml
diff options
context:
space:
mode:
Diffstat (limited to 'LeftPanel.qml')
-rw-r--r--LeftPanel.qml5
1 files changed, 3 insertions, 2 deletions
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