Fix pageChangeStarted callback

This commit is contained in:
Ensar Sarajčić 2023-08-31 10:36:19 +02:00
parent 7048a4c56f
commit 1dc3ee0af4
1 changed files with 2 additions and 3 deletions

View File

@ -85,9 +85,8 @@ class HomeScreenGrid(context: Context, attrs: AttributeSet, defStyle: Int) : Rel
getNextPageBound = { right - sideMargins.right - cellWidth / 2 },
getPrevPageBound = { left + sideMargins.left + cellWidth / 2 },
pageChangeStarted = {
widgetViews.forEach { it.resetTouches()
closeFolder()
}
widgetViews.forEach { it.resetTouches() }
closeFolder()
}
)