mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2025-02-17 04:20:38 +01:00
adding some crashfixes related to extended details
This commit is contained in:
parent
778d1ce71a
commit
e3b921db4d
@ -40,7 +40,12 @@ abstract class ViewPagerFragment : Fragment() {
|
||||
}
|
||||
|
||||
val path = "${file.parent.trimEnd('/')}/"
|
||||
val exif = ExifInterface(medium.path)
|
||||
val exif = try {
|
||||
ExifInterface(medium.path)
|
||||
} catch (e: Exception) {
|
||||
return ""
|
||||
}
|
||||
|
||||
val details = StringBuilder()
|
||||
val detailsFlag = context!!.config.extendedDetails
|
||||
if (detailsFlag and EXT_NAME != 0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user