Skip to content

Commit

Permalink
Fix Bimi when recycling
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasBourdin88 committed Jun 27, 2024
1 parent 1e97b09 commit e4a7c3d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/src/main/java/com/infomaniak/mail/views/AvatarView.kt
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ class AvatarView @JvmOverloads constructor(

private fun loadBimiAvatar(bimiUrl: String, correspondent: Correspondent) = with(binding.avatarImage) {
contentDescription = correspondent.email
currentCorrespondent = null
loadAvatar(
backgroundColor = context.getBackgroundColorBasedOnId(
correspondent.email.hashCode(),
Expand Down

0 comments on commit e4a7c3d

Please sign in to comment.