mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-29 06:28:45 +03:00
Fix huge picture crash on timeline
Change-Id: Ie9e4b68c8525a033b06e7f500e86aab73a718f40
This commit is contained in:
parent
5b07dbbeb9
commit
9cb64f0592
1 changed files with 1 additions and 3 deletions
|
@ -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 a new issue