Fix initials showing in the background when the profile picture has transparent background.

This commit is contained in:
Burak Kaan Köse
2026-03-01 13:48:40 +01:00
parent 2c9351f551
commit f35a4333f9
@@ -293,6 +293,7 @@ public sealed partial class ImagePreviewControl : PersonPicture
return; return;
DisplayName = displayName; DisplayName = displayName;
Initials = null;
ProfilePicture = null; ProfilePicture = null;
}).ConfigureAwait(false); }).ConfigureAwait(false);
} }
@@ -304,6 +305,7 @@ public sealed partial class ImagePreviewControl : PersonPicture
if (!IsActiveRefresh(refreshVersion, cancellationToken)) if (!IsActiveRefresh(refreshVersion, cancellationToken))
return; return;
Initials = string.Empty;
ProfilePicture = bitmapImage; ProfilePicture = bitmapImage;
}).ConfigureAwait(false); }).ConfigureAwait(false);
} }