1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-28 07:22:50 -05:00

Added a Compact mode to the keyboard_layout_name widget. (#554)

* Added a Compact mode to the keyboard_layout_name widget.

* Added another root.currentLayout = "Unknown" that was missing.
This commit is contained in:
ahoyiski
2025-10-26 10:07:11 -03:00
committed by GitHub
parent 7863d03282
commit a90b00e5fe
4 changed files with 56 additions and 3 deletions

View File

@@ -1781,6 +1781,9 @@ Item {
} else if (widgetId === "runningApps") {
SettingsData.setRunningAppsCompactMode(
value)
} else if (widgetId === "keyboard_layout_name") {
SettingsData.setKeyboardLayoutNameCompactMode(
value)
}
}
onControlCenterSettingChanged: (sectionId, widgetIndex, settingName, value) => {
@@ -1857,6 +1860,9 @@ Item {
} else if (widgetId === "runningApps") {
SettingsData.setRunningAppsCompactMode(
value)
} else if (widgetId === "keyboard_layout_name") {
SettingsData.setKeyboardLayoutNameCompactMode(
value)
}
}
onControlCenterSettingChanged: (sectionId, widgetIndex, settingName, value) => {
@@ -1933,6 +1939,9 @@ Item {
} else if (widgetId === "runningApps") {
SettingsData.setRunningAppsCompactMode(
value)
} else if (widgetId === "keyboard_layout_name") {
SettingsData.setKeyboardLayoutNameCompactMode(
value)
}
}
onControlCenterSettingChanged: (sectionId, widgetIndex, settingName, value) => {