Fix huge picture crash on timeline
Change-Id: Ie9e4b68c8525a033b06e7f500e86aab73a718f40
This commit is contained in:
parent
5b07dbbeb9
commit
9cb64f0592
|
@ -215,9 +215,7 @@ class ImageContentRenderer @Inject constructor(private val localFilesHelper: Loc
|
|||
.load(resolvedUrl)
|
||||
}
|
||||
|
||||
req.override(Target.SIZE_ORIGINAL, Target.SIZE_ORIGINAL)
|
||||
.fitCenter()
|
||||
.into(target)
|
||||
req.fitCenter().into(target)
|
||||
}
|
||||
|
||||
fun renderFitTarget(data: Data, mode: Mode, imageView: ImageView, callback: ((Boolean) -> Unit)? = null) {
|
||||
|
|
Loading…
Reference in New Issue