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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user