mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-21 17:05:39 +03:00
fix image scaling of no bubble mode
This commit is contained in:
parent
828ab89765
commit
772421f20d
3 changed files with 3 additions and 2 deletions
|
@ -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")
|
||||
|
|
|
@ -99,4 +99,4 @@
|
|||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
|
||||
</merge>
|
||||
</merge>
|
||||
|
|
|
@ -86,4 +86,4 @@
|
|||
app:tint="?vctr_content_secondary"
|
||||
tools:ignore="MissingPrefix" />
|
||||
|
||||
</merge>
|
||||
</merge>
|
||||
|
|
Loading…
Reference in a new issue