mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-02-27 11:09:18 +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)
|
.load(resolvedUrl)
|
||||||
}
|
}
|
||||||
|
|
||||||
req.override(Target.SIZE_ORIGINAL, Target.SIZE_ORIGINAL)
|
req.fitCenter().into(target)
|
||||||
.fitCenter()
|
|
||||||
.into(target)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
fun renderFitTarget(data: Data, mode: Mode, imageView: ImageView, callback: ((Boolean) -> Unit)? = null) {
|
fun renderFitTarget(data: Data, mode: Mode, imageView: ImageView, callback: ((Boolean) -> Unit)? = null) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue