1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-04-05 05:12:05 -04:00

launcher v2: retire spotlight launcher in favor of dank launcher

This commit is contained in:
bbedward
2026-01-21 21:34:31 -05:00
parent 6735989455
commit b140afca8e
27 changed files with 311 additions and 4306 deletions

View File

@@ -85,7 +85,9 @@ Singleton {
function setCachedDefaultSections(sections, flatModel) {
_cachedDefaultSections = sections.map(function (s) {
return Object.assign({}, s);
return Object.assign({}, s, {
items: s.items ? s.items.slice() : []
});
});
_cachedDefaultFlatModel = flatModel.slice();
_defaultCacheValid = true;