mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
quicksettings: Add status for mobile data not being available
This commit is contained in:
parent
0131710c23
commit
6d6b38ac46
1 changed files with 3 additions and 0 deletions
|
|
@ -70,6 +70,9 @@ MobileShell.QuickSettingsModel {
|
|||
MobileShell.QuickSetting {
|
||||
text: i18n("Mobile Data")
|
||||
icon: "network-modem"
|
||||
status: PlasmaMM.SignalIndicator.mobileDataSupported
|
||||
? (enabled ? i18n("On") : i18n("Off"))
|
||||
: i18n("Not Available")
|
||||
settingsCommand: "plasma-open-settings kcm_mobile_broadband"
|
||||
enabled: PlasmaMM.SignalIndicator.mobileDataEnabled
|
||||
function toggle() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue