forked from Public/monero-gui
networkstatus: add remote node
This commit is contained in:
@@ -29,7 +29,7 @@
|
|||||||
import QtQuick 2.0
|
import QtQuick 2.0
|
||||||
import moneroComponents.Wallet 1.0
|
import moneroComponents.Wallet 1.0
|
||||||
|
|
||||||
Row {
|
Rectangle {
|
||||||
id: item
|
id: item
|
||||||
property var connected: Wallet.ConnectionStatus_Disconnected
|
property var connected: Wallet.ConnectionStatus_Disconnected
|
||||||
|
|
||||||
@@ -51,6 +51,8 @@ Row {
|
|||||||
if (status == Wallet.ConnectionStatus_Connected) {
|
if (status == Wallet.ConnectionStatus_Connected) {
|
||||||
if(!appWindow.daemonSynced)
|
if(!appWindow.daemonSynced)
|
||||||
return qsTr("Synchronizing")
|
return qsTr("Synchronizing")
|
||||||
|
if(appWindow.remoteNodeConnected)
|
||||||
|
return qsTr("Remote node")
|
||||||
return qsTr("Connected")
|
return qsTr("Connected")
|
||||||
}
|
}
|
||||||
if (status == Wallet.ConnectionStatus_WrongVersion)
|
if (status == Wallet.ConnectionStatus_WrongVersion)
|
||||||
|
|||||||
Reference in New Issue
Block a user