1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-08-01 19:18:28 -04:00

launcher: don't select pre-filled queries, exclude from memory

port 1.5
This commit is contained in:
bbedward
2026-07-13 10:31:17 -04:00
parent 06c0ea2afb
commit ea66b136ba
9 changed files with 107 additions and 16 deletions
+3 -2
View File
@@ -1252,10 +1252,11 @@ Singleton {
saveSettings();
}
function addLauncherHistory(query) {
function addLauncherHistory(query, skipLastQuery) {
let q = query.trim();
setLauncherLastQuery(q);
if (!skipLastQuery)
setLauncherLastQuery(q);
if (!q)
return;