mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-01-28 07:22:50 -05:00
Add volume and brightness percentages (#1148)
This commit is contained in:
@@ -823,16 +823,31 @@ Column {
|
||||
label: I18n.tr("Audio"),
|
||||
setting: "showAudioIcon"
|
||||
},
|
||||
{
|
||||
icon: "percent",
|
||||
label: I18n.tr("Volume"),
|
||||
setting: "showAudioPercent"
|
||||
},
|
||||
{
|
||||
icon: "mic",
|
||||
label: I18n.tr("Microphone"),
|
||||
setting: "showMicIcon"
|
||||
},
|
||||
{
|
||||
icon: "percent",
|
||||
label: I18n.tr("Microphone Volume"),
|
||||
setting: "showMicPercent"
|
||||
},
|
||||
{
|
||||
icon: "brightness_high",
|
||||
label: I18n.tr("Brightness"),
|
||||
setting: "showBrightnessIcon"
|
||||
},
|
||||
{
|
||||
icon: "percent",
|
||||
label: I18n.tr("Brightness Value"),
|
||||
setting: "showBrightnessPercent"
|
||||
},
|
||||
{
|
||||
icon: "battery_full",
|
||||
label: I18n.tr("Battery"),
|
||||
@@ -860,10 +875,16 @@ Column {
|
||||
return wd?.showBluetoothIcon ?? SettingsData.controlCenterShowBluetoothIcon;
|
||||
case "showAudioIcon":
|
||||
return wd?.showAudioIcon ?? SettingsData.controlCenterShowAudioIcon;
|
||||
case "showAudioPercent":
|
||||
return wd?.showAudioPercent ?? SettingsData.controlCenterShowAudioPercent;
|
||||
case "showMicIcon":
|
||||
return wd?.showMicIcon ?? SettingsData.controlCenterShowMicIcon;
|
||||
case "showMicPercent":
|
||||
return wd?.showMicPercent ?? SettingsData.controlCenterShowMicPercent;
|
||||
case "showBrightnessIcon":
|
||||
return wd?.showBrightnessIcon ?? SettingsData.controlCenterShowBrightnessIcon;
|
||||
case "showBrightnessPercent":
|
||||
return wd?.showBrightnessPercent ?? SettingsData.controlCenterShowBrightnessPercent;
|
||||
case "showBatteryIcon":
|
||||
return wd?.showBatteryIcon ?? SettingsData.controlCenterShowBatteryIcon;
|
||||
case "showPrinterIcon":
|
||||
|
||||
Reference in New Issue
Block a user