Fix initials showing in the background when the profile picture has transparent background.
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user