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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user