mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-30 08:18:00 +01:00
fix #1669, add a workaround for refreshing file thumbnail after edit
This commit is contained in:
parent
f2fd6c29a7
commit
3957532c72
1 changed files with 2 additions and 1 deletions
|
@ -140,7 +140,8 @@ class NewEditActivity : SimpleActivity() {
|
|||
private val editCopyMoveListener = object : CopyMoveListener {
|
||||
override fun copySucceeded(copyOnly: Boolean, copiedAll: Boolean, destinationPath: String) {
|
||||
if (config.keepLastModified) {
|
||||
updateLastModified(destinationFilePath, sourceFileLastModified)
|
||||
// add 1 s to the last modified time to properly update the thumbnail
|
||||
updateLastModified(destinationFilePath, sourceFileLastModified + 1000)
|
||||
}
|
||||
|
||||
val paths = arrayListOf(destinationFilePath)
|
||||
|
|
Loading…
Reference in a new issue