Skip to content

Commit 8b1bd79

Browse files
committed
Fix avatar with initial not displayed on message preview bottom sheet
1 parent ff43954 commit 8b1bd79

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

vector/src/main/java/im/vector/app/core/epoxy/bottomsheet/BottomSheetMessagePreviewItem.kt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,8 @@ abstract class BottomSheetMessagePreviewItem : VectorEpoxyModel<BottomSheetMessa
104104
.into(holder.staticMapImageView)
105105

106106
safeLocationUiData.locationPinProvider.create(safeLocationUiData.locationOwnerId) { pinDrawable ->
107-
GlideApp.with(holder.staticMapPinImageView)
108-
.load(pinDrawable)
109-
.into(holder.staticMapPinImageView)
107+
// we are not using Glide since it does not display it correctly when there is no user photo
108+
holder.staticMapPinImageView.setImageDrawable(pinDrawable)
110109
}
111110
}
112111
}

0 commit comments

Comments
 (0)