mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-06-20 01:55:20 -04:00
settings: fix index conflict on battery tab
This commit is contained in:
@@ -690,7 +690,7 @@ FocusScope {
|
|||||||
Loader {
|
Loader {
|
||||||
id: batteryLoader
|
id: batteryLoader
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
active: root.currentIndex === 37
|
active: root.currentIndex === 42
|
||||||
visible: active
|
visible: active
|
||||||
focus: active
|
focus: active
|
||||||
|
|
||||||
|
|||||||
@@ -382,7 +382,7 @@ Rectangle {
|
|||||||
"id": "battery",
|
"id": "battery",
|
||||||
"text": I18n.tr("Battery"),
|
"text": I18n.tr("Battery"),
|
||||||
"icon": "battery_charging_full",
|
"icon": "battery_charging_full",
|
||||||
"tabIndex": 37
|
"tabIndex": 42
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -4585,27 +4585,6 @@
|
|||||||
],
|
],
|
||||||
"description": "Automatically lock the screen when DMS starts"
|
"description": "Automatically lock the screen when DMS starts"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"section": "lockBeforeSuspend",
|
|
||||||
"label": "Lock before suspend",
|
|
||||||
"tabIndex": 11,
|
|
||||||
"category": "Lock Screen",
|
|
||||||
"keywords": [
|
|
||||||
"automatic",
|
|
||||||
"automatically",
|
|
||||||
"before",
|
|
||||||
"lock",
|
|
||||||
"login",
|
|
||||||
"password",
|
|
||||||
"prepares",
|
|
||||||
"screen",
|
|
||||||
"security",
|
|
||||||
"sleep",
|
|
||||||
"suspend",
|
|
||||||
"system"
|
|
||||||
],
|
|
||||||
"description": "Automatically lock the screen when the system prepares to suspend"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"section": "lockScreenNotificationMode",
|
"section": "lockScreenNotificationMode",
|
||||||
"label": "Notification Display",
|
"label": "Notification Display",
|
||||||
@@ -6794,6 +6773,27 @@
|
|||||||
"icon": "schedule",
|
"icon": "schedule",
|
||||||
"description": "Gradually fade the screen before locking with a configurable grace period"
|
"description": "Gradually fade the screen before locking with a configurable grace period"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"section": "lockBeforeSuspend",
|
||||||
|
"label": "Lock before suspend",
|
||||||
|
"tabIndex": 21,
|
||||||
|
"category": "Power & Sleep",
|
||||||
|
"keywords": [
|
||||||
|
"automatically",
|
||||||
|
"before",
|
||||||
|
"energy",
|
||||||
|
"lock",
|
||||||
|
"power",
|
||||||
|
"prepares",
|
||||||
|
"screen",
|
||||||
|
"security",
|
||||||
|
"shutdown",
|
||||||
|
"sleep",
|
||||||
|
"suspend",
|
||||||
|
"system"
|
||||||
|
],
|
||||||
|
"description": "Automatically lock the screen when the system prepares to suspend"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"section": "fadeToLockGracePeriod",
|
"section": "fadeToLockGracePeriod",
|
||||||
"label": "Lock fade grace period",
|
"label": "Lock fade grace period",
|
||||||
@@ -7195,6 +7195,29 @@
|
|||||||
],
|
],
|
||||||
"description": "Maximum number of entries that can be saved"
|
"description": "Maximum number of entries that can be saved"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"section": "clipboardRememberTypeFilter",
|
||||||
|
"label": "Remember Type Filter",
|
||||||
|
"tabIndex": 23,
|
||||||
|
"category": "System",
|
||||||
|
"keywords": [
|
||||||
|
"behavior",
|
||||||
|
"clipboard",
|
||||||
|
"cliphist",
|
||||||
|
"copy",
|
||||||
|
"filter",
|
||||||
|
"history",
|
||||||
|
"keep",
|
||||||
|
"linux",
|
||||||
|
"os",
|
||||||
|
"paste",
|
||||||
|
"remember",
|
||||||
|
"reopening",
|
||||||
|
"system",
|
||||||
|
"type"
|
||||||
|
],
|
||||||
|
"description": "Keep the clipboard type filter when reopening history"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"section": "clipboardVisibleEntryActions",
|
"section": "clipboardVisibleEntryActions",
|
||||||
"label": "Visible Entry Actions",
|
"label": "Visible Entry Actions",
|
||||||
@@ -8972,5 +8995,19 @@
|
|||||||
"wireguard"
|
"wireguard"
|
||||||
],
|
],
|
||||||
"icon": "vpn_key"
|
"icon": "vpn_key"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"section": "_tab_42",
|
||||||
|
"label": "Battery",
|
||||||
|
"tabIndex": 42,
|
||||||
|
"category": "Settings",
|
||||||
|
"keywords": [
|
||||||
|
"battery",
|
||||||
|
"charge",
|
||||||
|
"charging",
|
||||||
|
"power",
|
||||||
|
"settings"
|
||||||
|
],
|
||||||
|
"icon": "battery_charging_full"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user