Fix huge picture crash on timeline

Change-Id: Ie9e4b68c8525a033b06e7f500e86aab73a718f40
This commit is contained in:
Tiago Loureiro 2022-01-17 13:58:00 +00:00 committed by SpiritCroc
parent 5b07dbbeb9
commit 9cb64f0592
1 changed files with 1 additions and 3 deletions

View File

@ -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) {