no need to update last modified manually afer renaming on internal storage
This commit is contained in:
parent
baed126550
commit
06b3c728ce
|
@ -37,7 +37,7 @@ android {
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile 'com.simplemobiletools:commons:2.31.1'
|
compile 'com.simplemobiletools:commons:2.31.4'
|
||||||
compile 'com.davemorrissey.labs:subsampling-scale-image-view:3.6.0'
|
compile 'com.davemorrissey.labs:subsampling-scale-image-view:3.6.0'
|
||||||
compile 'com.theartofdev.edmodo:android-image-cropper:2.4.0'
|
compile 'com.theartofdev.edmodo:android-image-cropper:2.4.0'
|
||||||
compile 'com.bignerdranch.android:recyclerview-multiselect:0.2'
|
compile 'com.bignerdranch.android:recyclerview-multiselect:0.2'
|
||||||
|
|
|
@ -261,7 +261,6 @@ fun SimpleActivity.toggleFileVisibility(oldFile: File, hide: Boolean, callback:
|
||||||
}
|
}
|
||||||
val newFile = File(path, filename)
|
val newFile = File(path, filename)
|
||||||
renameFile(oldFile, newFile) {
|
renameFile(oldFile, newFile) {
|
||||||
newFile.setLastModified(System.currentTimeMillis())
|
|
||||||
callback(newFile)
|
callback(newFile)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue