To reset the search query and position the list in the beginning when click home button on the launcher.
Notice that in setCurrentScopeAtIndex(index, animate, reset):
if (reset) { dashContentList.currentItem.item.positionAtBeginning()
+ dashContentList.currentItem.item.resetSearch()
}
> - dash.setCurrent Scope(0, animate, false) Scope(0, animate, true)
> + dash.setCurrent
>
> Why this change?
To reset the search query and position the list in the beginning when click home button on the launcher. AtIndex( index, animate, reset):
dashContentLi st.currentItem. item.positionAt Beginning( ) .currentItem. item.resetSearc h()
Notice that in setCurrentScope
if (reset) {
+ dashContentList
}