1
0

qml: show Tor status in NetworkOverview

This commit is contained in:
Sander van Grieken
2023-01-13 10:25:35 +01:00
parent f33989b445
commit 7cc344dbc9
2 changed files with 24 additions and 0 deletions

View File

@@ -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')