Skip to content

Commit

Permalink
Merge pull request #1944 from Infomaniak/fix-bimi
Browse files Browse the repository at this point in the history
Fix Bimi when recycling
  • Loading branch information
NicolasBourdin88 committed Jun 27, 2024
2 parents 1e97b09 + e4a7c3d commit 8e458a0
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 8e458a0

Please sign in to comment.