1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2025-12-08 14:35:39 -05:00

launcher: sort by usage frequency

This commit is contained in:
bbedward
2025-07-24 18:36:23 -04:00
parent 99f17de065
commit 366930fc03
13 changed files with 557 additions and 258 deletions

View File

@@ -20,7 +20,7 @@ DankModal {
}
// DankModal configuration
visible: settingsVisible
width: 650
width: 750
height: 750
keyboardFocus: "ondemand"
onBackgroundClicked: {
@@ -92,6 +92,7 @@ DankModal {
{ text: "Personalization", icon: "person" },
{ text: "Time & Weather", icon: "schedule" },
{ text: "Widgets", icon: "widgets" },
{ text: "Launcher", icon: "apps" },
{ text: "Appearance", icon: "palette" }
]
}
@@ -128,7 +129,7 @@ DankModal {
}
}
// System Tab
// Widgets Tab
Loader {
anchors.fill: parent
active: settingsTabBar.currentIndex === 2
@@ -139,12 +140,23 @@ DankModal {
}
}
// Appearance Tab
// Launcher Tab
Loader {
anchors.fill: parent
active: settingsTabBar.currentIndex === 3
visible: active
asynchronous: true
sourceComponent: Component {
LauncherTab {}
}
}
// Appearance Tab
Loader {
anchors.fill: parent
active: settingsTabBar.currentIndex === 4
visible: active
asynchronous: true
sourceComponent: Component {
AppearanceTab {}
}