forked from Public/monero-gui
Stagenet
This commit is contained in:
@@ -28,6 +28,7 @@
|
||||
|
||||
import QtQuick 2.2
|
||||
import QtQuick.Layouts 1.1
|
||||
import moneroComponents.NetworkType 1.0
|
||||
|
||||
|
||||
ColumnLayout {
|
||||
@@ -50,8 +51,8 @@ ColumnLayout {
|
||||
autoDonationAmount = wizard.settings["auto_donations_amount"] + " %",
|
||||
backgroundMiningEnabled = wizard.settings["allow_background_mining"] === true,
|
||||
backgroundMiningText = backgroundMiningEnabled ? qsTr("Enabled") : qsTr("Disabled"),
|
||||
testnetEnabled = appWindow.persistentSettings.testnet,
|
||||
testnetText = testnetEnabled ? qsTr("Enabled") : qsTr("Disabled"),
|
||||
nettype = appWindow.persistentSettings.nettype,
|
||||
networkText = nettype === NetworkType.TESTNET ? qsTr("Testnet") : nettype === NetworkType.STAGENET ? qsTr("Stagenet") : qsTr("Mainnet"),
|
||||
restoreHeightEnabled = wizard.settings['restore_height'] !== undefined;
|
||||
|
||||
return "<table>"
|
||||
@@ -65,7 +66,7 @@ ColumnLayout {
|
||||
// : "")
|
||||
// + trStart + qsTr("Background mining") + trMiddle + backgroundMiningText + trEnd
|
||||
+ trStart + qsTr("Daemon address") + trMiddle + persistentSettings.daemon_address + trEnd
|
||||
+ trStart + qsTr("Testnet") + trMiddle + testnetText + trEnd
|
||||
+ trStart + qsTr("Network Type") + trMiddle + networkText + trEnd
|
||||
+ (restoreHeightEnabled
|
||||
? trStart + qsTr("Restore height") + trMiddle + wizard.settings['restore_height'] + trEnd
|
||||
: "")
|
||||
|
||||
Reference in New Issue
Block a user