mirror of
https://github.com/SimpleMobileTools/Simple-File-Manager.git
synced 2025-01-30 18:24:52 +01:00
fix #260, properly decompress SD card files
This commit is contained in:
parent
3ee6bbe911
commit
457da971ab
@ -348,7 +348,12 @@ class ItemsAdapter(activity: SimpleActivity, var fileDirItems: MutableList<FileD
|
||||
val entries = zipFile.entries()
|
||||
while (entries.hasMoreElements()) {
|
||||
val entry = entries.nextElement()
|
||||
val newPath = "${it.getParentPath()}${entry.name}"
|
||||
var parentPath = it.getParentPath()
|
||||
if (parentPath != OTG_PATH) {
|
||||
parentPath = "${parentPath.trimEnd('/')}/"
|
||||
}
|
||||
|
||||
val newPath = "$parentPath${entry.name.trimEnd('/')}"
|
||||
|
||||
val resolution = getConflictResolution(conflictResolutions, newPath)
|
||||
val doesPathExist = activity.getDoesFilePathExist(newPath)
|
||||
|
Loading…
x
Reference in New Issue
Block a user