1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-24 13:32:50 -05:00

launcher v2: reduce debounce

This commit is contained in:
bbedward
2026-01-22 09:20:00 -05:00
parent 41ee88a3cf
commit f61ed8b8a6

View File

@@ -97,9 +97,7 @@ Item {
if (sectionViewModes[sectionId])
return sectionViewModes[sectionId];
var savedModes = viewModeContext === "appDrawer"
? (SettingsData.appDrawerSectionViewModes || {})
: (SettingsData.spotlightSectionViewModes || {});
var savedModes = viewModeContext === "appDrawer" ? (SettingsData.appDrawerSectionViewModes || {}) : (SettingsData.spotlightSectionViewModes || {});
if (savedModes[sectionId])
return savedModes[sectionId];
@@ -190,7 +188,7 @@ Item {
Timer {
id: searchDebounce
interval: searchMode === "all" && searchQuery.length > 0 ? 120 : 60
interval: searchMode === "all" && searchQuery.length > 0 ? 90 : 60
onTriggered: root.performSearch()
}