Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Fixed folders showing up incorrectly as files in copy/move dialog ([#267])
- Fixed error when saving files with unsupported characters ([#250])
- Fixed missing permission prompt on initial "Save as" launch ([#85])
- Fixed auto-refresh after decompressing file by opening into decompressed folder ([#194])

## [1.2.3] - 2025-09-15
### Fixed
Expand Down Expand Up @@ -78,6 +79,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
[#267]: https://github.com/FossifyOrg/File-Manager/issues/267
[#250]: https://github.com/FossifyOrg/File-Manager/issues/250
[#85]: https://github.com/FossifyOrg/File-Manager/issues/85
[#194]: https://github.com/FossifyOrg/File-Manager/issues/194

[Unreleased]: https://github.com/FossifyOrg/File-Manager/compare/1.2.3...HEAD
[1.2.3]: https://github.com/FossifyOrg/File-Manager/compare/1.2.2...1.2.3
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ import java.io.File
class DecompressActivity : SimpleActivity() {
companion object {
private const val PASSWORD = "password"
var onDecompressFinished: ((String) -> Unit)? = null
}

private val binding by viewBinding(ActivityDecompressBinding::inflate)
Expand Down Expand Up @@ -193,8 +194,12 @@ class DecompressActivity : SimpleActivity() {
outputFile.setLastModified(entry)
}

toast(R.string.decompression_successful)
finish()
runOnUiThread {
toast(getString(R.string.decompression_successful))
val extractedFolder = "$destination/${filename.substringBeforeLast(".")}"
onDecompressFinished?.invoke(extractedFolder)
finish()
}
}
} catch (e: Exception) {
showErrorToast(e)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,10 @@ class MainActivity : SimpleActivity() {
checkIfRootAvailable()
checkInvalidFavorites()
}

DecompressActivity.onDecompressFinished = { extractedFolder ->
openPath(extractedFolder, true)
}
}

override fun onResume() {
Expand Down
Loading