fix image scaling of no bubble mode

This commit is contained in:
Sinofine Lotusie 2023-02-27 17:28:01 +08:00
parent 828ab89765
commit 772421f20d
3 changed files with 3 additions and 2 deletions

View File

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