This commit is contained in:
Andrii Nyvchyk 2022-09-25 04:35:14 +03:00 committed by GitHub
parent d1bdb6a36e
commit 5949ffd1e8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -115,9 +115,9 @@ class FileProcessor @Inject constructor(
Timber.d("Checking for tag: %s", tag)
exifInterface?.getAttribute(tag)
?.takeIf { it.isNotEmpty() }
?.let {
?.let { attributeName ->
exifInterface.setAttribute(tag, null).also {
Timber.d("Exif tag $tag with value $it redacted.")
Timber.d("Exif tag $tag with value $attributeName redacted.")
}
}
}