1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-26 14:32:52 -05:00

settings: add search

- because tabs arent loaded at runtime, we have to have a separate index
- Less ideal, but functional enough for now
This commit is contained in:
bbedward
2025-12-26 19:19:47 -05:00
parent d6fe7bea27
commit d9d6ab5776
30 changed files with 1142 additions and 47 deletions

View File

@@ -17,6 +17,7 @@ Item {
Column {
id: mainColumn
topPadding: 4
width: Math.min(550, parent.width - Theme.spacingL * 2)
anchors.horizontalCenter: parent.horizontalCenter
@@ -26,6 +27,7 @@ Item {
tab: "time"
tags: ["time", "clock", "format", "24hour"]
title: I18n.tr("Time Format")
settingKey: "timeFormat"
iconName: "schedule"
SettingsToggleRow {
@@ -53,6 +55,7 @@ Item {
tab: "time"
tags: ["date", "format", "calendar"]
title: I18n.tr("Date Format")
settingKey: "dateFormat"
iconName: "calendar_today"
SettingsDropdownRow {
@@ -325,6 +328,7 @@ Item {
tab: "time"
tags: ["weather", "enable", "forecast"]
title: I18n.tr("Weather")
settingKey: "weather"
iconName: "cloud"
SettingsToggleRow {
@@ -546,6 +550,7 @@ Item {
tab: "time"
tags: ["weather", "current", "display"]
title: I18n.tr("Current Weather")
settingKey: "weather"
iconName: "visibility"
visible: SettingsData.weatherEnabled