1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-04-03 20:32:07 -04:00

fix(launcher): select first file search result by default fixes #1967

This commit is contained in:
bbedward
2026-03-11 12:47:05 -04:00
parent fc7b61c20b
commit 02a274ebe2

View File

@@ -875,9 +875,7 @@ Item {
_applyHighlights(newSections, searchQuery);
flatModel = Scorer.flattenSections(newSections);
sections = newSections;
if (selectedFlatIndex >= flatModel.length) {
selectedFlatIndex = getFirstItemIndex();
}
updateSelectedItem();
});
}