1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2025-12-07 05:55:37 -05:00

Make recent apps a category

This commit is contained in:
bbedward
2025-07-12 22:00:40 -04:00
parent 2e94cf26a7
commit e6821a73a5
3 changed files with 62 additions and 208 deletions

View File

@@ -158,9 +158,9 @@ Singleton {
return a.name.localeCompare(b.name) // Alphabetical tiebreaker
})
// Limit to 5 apps
if (sortedApps.length > 5) {
sortedApps = sortedApps.slice(0, 5)
// Limit to 10 apps
if (sortedApps.length > 10) {
sortedApps = sortedApps.slice(0, 10)
}
// Reassign to trigger property change signal