diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/MainActivity.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/MainActivity.kt index 39d5a7b85..33cc426fe 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/MainActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/MainActivity.kt @@ -1032,11 +1032,11 @@ class MainActivity : SimpleActivity(), DirectoryOperationsListener { if (path != config.tempFolderPath) { itemClicked(path) } - measureRecyclerViewContent(dirsToShow) }.apply { setupZoomListener(mZoomListener) directories_grid.adapter = this } + measureRecyclerViewContent(dirsToShow) setupScrollDirection() } else { if (textToSearch.isNotEmpty()) {