no need to update last modified manually afer renaming on internal storage

This commit is contained in:
tibbi
2017-10-23 23:52:37 +02:00
parent baed126550
commit 06b3c728ce
2 changed files with 1 additions and 2 deletions

View File

@@ -261,7 +261,6 @@ fun SimpleActivity.toggleFileVisibility(oldFile: File, hide: Boolean, callback:
}
val newFile = File(path, filename)
renameFile(oldFile, newFile) {
newFile.setLastModified(System.currentTimeMillis())
callback(newFile)
}
}