diff --git a/app/build.gradle b/app/build.gradle index 5de9d8164..9e6e8ebef 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -61,7 +61,7 @@ android { } dependencies { - implementation 'com.simplemobiletools:commons:5.14.14' + implementation 'com.simplemobiletools:commons:5.14.15' implementation 'com.theartofdev.edmodo:android-image-cropper:2.8.0' implementation 'androidx.multidex:multidex:2.0.1' implementation 'it.sephiroth.android.exif:library:1.0.1' diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/fragments/ViewPagerFragment.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/fragments/ViewPagerFragment.kt index 63feec23f..885af7016 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/fragments/ViewPagerFragment.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/fragments/ViewPagerFragment.kt @@ -64,15 +64,15 @@ abstract class ViewPagerFragment : Fragment() { } if (detailsFlag and EXT_DATE_TAKEN != 0) { - path.getExifDateTaken(exif, context!!).let { if (it.isNotEmpty()) details.appendln(it) } + exif.getExifDateTaken(context!!).let { if (it.isNotEmpty()) details.appendln(it) } } if (detailsFlag and EXT_CAMERA_MODEL != 0) { - path.getExifCameraModel(exif).let { if (it.isNotEmpty()) details.appendln(it) } + exif.getExifCameraModel().let { if (it.isNotEmpty()) details.appendln(it) } } if (detailsFlag and EXT_EXIF_PROPERTIES != 0) { - path.getExifProperties(exif).let { if (it.isNotEmpty()) details.appendln(it) } + exif.getExifProperties().let { if (it.isNotEmpty()) details.appendln(it) } } if (detailsFlag and EXT_GPS != 0) {