1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-08-05 21:18:30 -04:00

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

port 1.5

(cherry picked from commit ea66b136ba)
This commit is contained in:
bbedward
2026-07-13 10:31:17 -04:00
committed by dms-ci[bot]
parent 58530ae56c
commit 28c25d46d5
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;