mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2024-12-24 15:30:57 +01:00
replacing some "it"s with "path"s
This commit is contained in:
parent
e3fcd3c84b
commit
d654eca1f2
@ -929,12 +929,12 @@ class MainActivity : SimpleActivity(), DirectoryOperationsListener {
|
||||
val currentPaths = LinkedHashSet<String>()
|
||||
folders.forEach {
|
||||
val path = it
|
||||
if (it != internalPath && it != sdPath) {
|
||||
if (path != internalPath && path != sdPath) {
|
||||
if (folders.any { it != path && (File(path).parent == it || File(it).parent == File(path).parent) }) {
|
||||
val parent = File(it).parent
|
||||
val parent = File(path).parent
|
||||
currentPaths.add(parent)
|
||||
} else {
|
||||
currentPaths.add(it)
|
||||
currentPaths.add(path)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user