mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
Show hotspot and strength when it is activated
This commit is contained in:
parent
bef62a7450
commit
f6e34a4f84
2 changed files with 2 additions and 2 deletions
|
|
@ -17,7 +17,7 @@ Kirigami.Icon {
|
|||
|
||||
// data
|
||||
|
||||
readonly property string icon: connectionIconProvider.connectionIcon
|
||||
readonly property string icon: wirelessStatus.hotspotSSID.length !== 0 ? "network-wireless-hotspot" : connectionIconProvider.connectionIcon
|
||||
readonly property bool indicatorRunning: connectionIconProvider.connecting
|
||||
|
||||
readonly property var networkStatus: PlasmaNM.NetworkStatus {
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ Item {
|
|||
source: MobileShell.SignalStrengthInfo.icon
|
||||
|
||||
// don't show mobile indicator icon if the networkmanager one is already showing
|
||||
visible: !isInternetIndicatorMobileData && MobileShell.SignalStrengthInfo.showIndicator
|
||||
visible: (!isInternetIndicatorMobileData || wirelessStatus.hotspotSSID.length !== 0) && MobileShell.SignalStrengthInfo.showIndicator
|
||||
}
|
||||
|
||||
PlasmaComponents.Label {
|
||||
|
|
|
|||
Loading…
Reference in a new issue