Commit e1b90618 authored by Devin Lin's avatar Devin Lin 🎨
Browse files

quicksettings: Ensure mobile data quick setting says not available if not available

Originally this was omitted to not break string freeze. We instead use an untranslated string to avoid user confusion.
parent 6322b1ac
Pipeline #139865 passed with stage
in 58 seconds
......@@ -70,6 +70,9 @@ MobileShell.QuickSettingsModel {
MobileShell.QuickSetting {
text: i18n("Mobile Data")
icon: "network-modem"
status: PlasmaMM.SignalIndicator.mobileDataSupported
? "" // on or off supplied by default
: "Not Available" // NOTE: not translated to not break string freeze
settingsCommand: "plasma-open-settings kcm_mobile_broadband"
enabled: PlasmaMM.SignalIndicator.mobileDataEnabled
function toggle() {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment