avoid redundant folders adapter refreshing at direct subfolder groupind

This commit is contained in:
tibbi 2018-12-16 10:23:17 +01:00
parent adf02739fe
commit ea20c282ab
1 changed files with 1 additions and 1 deletions

View File

@ -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
}