diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/extensions/String.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/extensions/String.kt index a2e6cbfc8..db7b0ec87 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/extensions/String.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/extensions/String.kt @@ -5,7 +5,7 @@ import java.io.File fun String.getFileSignature(): ObjectKey { val file = File(this) - return ObjectKey("${file.name}${file.lastModified()}") + return ObjectKey("${file.absolutePath}${file.lastModified()}") } fun String.isThisOrParentIncluded(includedPaths: MutableSet) = includedPaths.any { startsWith(it, true) }