Show hotspot and strength when it is activated

This commit is contained in:
Mr. Athozus 2024-04-27 21:40:48 +02:00
parent bef62a7450
commit f6e34a4f84
No known key found for this signature in database
GPG key ID: B50895022E8484BF
2 changed files with 2 additions and 2 deletions

View file

@ -17,7 +17,7 @@ Kirigami.Icon {
// data // 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 bool indicatorRunning: connectionIconProvider.connecting
readonly property var networkStatus: PlasmaNM.NetworkStatus { readonly property var networkStatus: PlasmaNM.NetworkStatus {

View file

@ -35,7 +35,7 @@ Item {
source: MobileShell.SignalStrengthInfo.icon source: MobileShell.SignalStrengthInfo.icon
// don't show mobile indicator icon if the networkmanager one is already showing // 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 { PlasmaComponents.Label {