mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-30 00:17:58 +01:00
fix a glitch at empty screen with direct subfolder grouping
This commit is contained in:
parent
ca8ab6f43e
commit
f3168e5f97
2 changed files with 5 additions and 1 deletions
|
@ -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'
|
||||
|
|
|
@ -854,6 +854,10 @@ class MainActivity : SimpleActivity(), DirectoryOperationsListener {
|
|||
}
|
||||
|
||||
val dirs = getSortedDirectories(newDirs)
|
||||
if (config.groupDirectSubfolders) {
|
||||
mDirs = dirs.clone() as ArrayList<Directory>
|
||||
}
|
||||
|
||||
var isPlaceholderVisible = dirs.isEmpty()
|
||||
|
||||
runOnUiThread {
|
||||
|
|
Loading…
Reference in a new issue