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