mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-07-26 14:24:45 +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 {
|
MobileShell.QuickSetting {
|
||||||
text: i18n("Mobile Data")
|
text: i18n("Mobile Data")
|
||||||
icon: "network-modem"
|
icon: "network-modem"
|
||||||
|
status: PlasmaMM.SignalIndicator.mobileDataSupported
|
||||||
|
? (enabled ? i18n("On") : i18n("Off"))
|
||||||
|
: i18n("Not Available")
|
||||||
settingsCommand: "plasma-open-settings kcm_mobile_broadband"
|
settingsCommand: "plasma-open-settings kcm_mobile_broadband"
|
||||||
enabled: PlasmaMM.SignalIndicator.mobileDataEnabled
|
enabled: PlasmaMM.SignalIndicator.mobileDataEnabled
|
||||||
function toggle() {
|
function toggle() {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue