mirror of
				https://github.com/SimpleMobileTools/Simple-Gallery.git
				synced 2025-06-05 21:59:19 +02:00 
			
		
		
		
	fix #1669, add a workaround for refreshing file thumbnail after edit
This commit is contained in:
		| @@ -140,7 +140,8 @@ class NewEditActivity : SimpleActivity() { | |||||||
|     private val editCopyMoveListener = object : CopyMoveListener { |     private val editCopyMoveListener = object : CopyMoveListener { | ||||||
|         override fun copySucceeded(copyOnly: Boolean, copiedAll: Boolean, destinationPath: String) { |         override fun copySucceeded(copyOnly: Boolean, copiedAll: Boolean, destinationPath: String) { | ||||||
|             if (config.keepLastModified) { |             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) |             val paths = arrayListOf(destinationFilePath) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user