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")

View file

@ -99,4 +99,4 @@
</androidx.constraintlayout.widget.ConstraintLayout>
</merge>
</merge>

View file

@ -86,4 +86,4 @@
app:tint="?vctr_content_secondary"
tools:ignore="MissingPrefix" />
</merge>
</merge>