mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-26 22:47:59 +01:00
temporarily comment out deleting of newly created folders
This commit is contained in:
parent
91819ba354
commit
3b14330b5d
1 changed files with 2 additions and 2 deletions
|
@ -238,12 +238,12 @@ class MainActivity : SimpleActivity(), DirectoryAdapter.DirOperationsListener {
|
|||
|
||||
private fun removeTempFolder() {
|
||||
if (config.tempFolderPath.isNotEmpty()) {
|
||||
val newFolder = File(config.tempFolderPath)
|
||||
/*val newFolder = File(config.tempFolderPath)
|
||||
if (newFolder.exists() && newFolder.isDirectory) {
|
||||
if (newFolder.list()?.isEmpty() == true) {
|
||||
deleteFile(newFolder.toFileDirItem(applicationContext), true)
|
||||
}
|
||||
}
|
||||
}*/
|
||||
config.tempFolderPath = ""
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue