WiFi: removed status indicator
This commit is contained in:
parent
35ca346246
commit
9a6c98c134
1 changed files with 2 additions and 11 deletions
|
|
@ -45,7 +45,7 @@ NPanel {
|
||||||
}
|
}
|
||||||
|
|
||||||
NText {
|
NText {
|
||||||
text: "WiFi"
|
text: "Wi-Fi"
|
||||||
font.pointSize: Style.fontSizeL * scaling
|
font.pointSize: Style.fontSizeL * scaling
|
||||||
font.weight: Style.fontWeightBold
|
font.weight: Style.fontWeightBold
|
||||||
color: Color.mOnSurface
|
color: Color.mOnSurface
|
||||||
|
|
@ -53,20 +53,11 @@ NPanel {
|
||||||
Layout.leftMargin: Style.marginS * scaling
|
Layout.leftMargin: Style.marginS * scaling
|
||||||
}
|
}
|
||||||
|
|
||||||
// Connection status indicator
|
|
||||||
Rectangle {
|
|
||||||
visible: NetworkService.hasActiveConnection
|
|
||||||
width: 8 * scaling
|
|
||||||
height: 8 * scaling
|
|
||||||
radius: 4 * scaling
|
|
||||||
color: Color.mPrimary
|
|
||||||
}
|
|
||||||
|
|
||||||
NIconButton {
|
NIconButton {
|
||||||
icon: "refresh"
|
icon: "refresh"
|
||||||
tooltipText: "Refresh networks"
|
tooltipText: "Refresh networks"
|
||||||
sizeRatio: 0.8
|
sizeRatio: 0.8
|
||||||
enabled: Settings.data.network.wifiEnabled && !NetworkService.isLoading
|
enabled: Settings.data.network.wifiEnabled
|
||||||
onClicked: NetworkService.refreshNetworks()
|
onClicked: NetworkService.refreshNetworks()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue