qml: show Tor status in NetworkOverview
This commit is contained in:
@@ -61,6 +61,24 @@ Pane {
|
||||
text: Network.proxy['host'] ? Network.proxy['host'] + ':' + Network.proxy['port'] : ''
|
||||
}
|
||||
|
||||
Label {
|
||||
visible: 'mode' in Network.proxy
|
||||
text: qsTr('Proxy type:');
|
||||
color: Material.accentColor
|
||||
}
|
||||
RowLayout {
|
||||
Image {
|
||||
visible: Network.isProxyTor
|
||||
Layout.preferredWidth: constants.iconSizeSmall
|
||||
Layout.preferredHeight: constants.iconSizeSmall
|
||||
source: '../../icons/tor_logo.png'
|
||||
}
|
||||
Label {
|
||||
visible: 'mode' in Network.proxy
|
||||
text: Network.isProxyTor ? 'TOR' : Network.proxy['mode']
|
||||
}
|
||||
}
|
||||
|
||||
Label {
|
||||
Layout.columnSpan: 2
|
||||
text: qsTr('On-chain')
|
||||
|
||||
Reference in New Issue
Block a user