Skip to content

Commit 9549ff3

Browse files
Update Microsoft.Toolkit.Uwp.UI.Controls.Core/TileControl/TileControl.cs
Co-authored-by: Sergio Pedri <sergio0694@live.com>
1 parent 66e77ab commit 9549ff3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Microsoft.Toolkit.Uwp.UI.Controls.Core/TileControl/TileControl.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ private async Task<bool> LoadImageBrushAsync(Uri uri)
175175

176176
void LoadCompleted(LoadedImageSurface sender, LoadedImageSourceLoadCompletedEventArgs args)
177177
{
178-
_imageSurface.LoadCompleted -= LoadCompleted;
178+
sender.LoadCompleted -= LoadCompleted;
179179

180180
if (args.Status == LoadedImageSourceLoadStatus.Success)
181181
{

0 commit comments

Comments
 (0)