mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-23 04:57:59 +01:00
try fixing a ConcurrentModificationException at loading directories
This commit is contained in:
parent
aa946ad173
commit
a608ce2d6e
1 changed files with 1 additions and 1 deletions
|
@ -790,7 +790,7 @@ class MainActivity : SimpleActivity(), DirectoryOperationsListener {
|
|||
val allowHorizontalScroll = config.scrollHorizontally && config.viewTypeFolders == VIEW_TYPE_GRID
|
||||
directories_vertical_fastscroller.beVisibleIf(directories_grid.isVisible() && !allowHorizontalScroll)
|
||||
directories_horizontal_fastscroller.beVisibleIf(directories_grid.isVisible() && allowHorizontalScroll)
|
||||
setupAdapter(dirs)
|
||||
setupAdapter(dirs.clone() as ArrayList<Directory>)
|
||||
}
|
||||
|
||||
// cached folders have been loaded, recheck folders one by one starting with the first displayed
|
||||
|
|
Loading…
Reference in a new issue