diff --git a/app/build.gradle b/app/build.gradle index 2fc7eeeb3..c626d59d8 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -62,7 +62,7 @@ android { } dependencies { - implementation 'com.simplemobiletools:commons:5.20.3' + implementation 'com.simplemobiletools:commons:5.20.4' implementation 'com.theartofdev.edmodo:android-image-cropper:2.8.0' implementation 'androidx.multidex:multidex:2.0.1' implementation 'it.sephiroth.android.exif:library:1.0.1' 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 9469474f2..d38331114 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 @@ -854,6 +854,10 @@ class MainActivity : SimpleActivity(), DirectoryOperationsListener { } val dirs = getSortedDirectories(newDirs) + if (config.groupDirectSubfolders) { + mDirs = dirs.clone() as ArrayList + } + var isPlaceholderVisible = dirs.isEmpty() runOnUiThread {