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 5fd3f08be..3af4e7043 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 @@ -821,7 +821,7 @@ class MainActivity : SimpleActivity(), DirectoryOperationsListener { } // we are looping through the already displayed folders looking for changes, do not do anything if nothing changed - if (directory == newDir) { + if (directory.copy(subfoldersCount = 0, subfoldersMediaCount = 0) == newDir) { continue }