Fix crash reported from rageshake

This commit is contained in:
Benoit Marty 2020-02-26 14:54:36 +01:00
parent ccf72ffaa7
commit 4bb3fb128f
1 changed files with 2 additions and 2 deletions

View File

@ -144,9 +144,9 @@ class ImageContentRenderer @Inject constructor(private val activeSessionHolder:
return
}
imageView.setImageLoaderCallback(object: DefaultImageLoaderCallback {
imageView.setImageLoaderCallback(object : DefaultImageLoaderCallback {
override fun onSuccess(image: File?) {
imageView.ssiv.orientation = ORIENTATION_USE_EXIF
imageView.ssiv?.orientation = ORIENTATION_USE_EXIF
}
})