Merge remote-tracking branch 'Sinofine/bubble-scale' into sc

Change-Id: I8d1ec00d90280bdfa107ec25b6ca691169b00ba5
This commit is contained in:
SpiritCroc 2023-02-28 15:05:41 +01:00
commit 7c43d951fb
3 changed files with 3 additions and 2 deletions

View File

@ -117,6 +117,7 @@ class ImageContentRenderer @Inject constructor(
*/ */
GlideApp.with(imageView) GlideApp.with(imageView)
.load(imageUrl) .load(imageUrl)
.fitCenter()
.listener(object: RequestListener<Drawable> { .listener(object: RequestListener<Drawable> {
override fun onLoadFailed(e: GlideException?, model: Any?, target: Target<Drawable>?, isFirstResource: Boolean): Boolean { override fun onLoadFailed(e: GlideException?, model: Any?, target: Target<Drawable>?, isFirstResource: Boolean): Boolean {
Timber.e("Rendering url $imageUrl failed: $e") Timber.e("Rendering url $imageUrl failed: $e")