Skip to content

Commit

Permalink
[Peek]Fix image aliasing (#32669)
Browse files Browse the repository at this point in the history
  • Loading branch information
gokcekantarci committed May 10, 2024
1 parent 72bd90b commit d9ef135
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -275,8 +275,8 @@ private Task<bool> LoadFullQualityImageAsync(CancellationToken cancellationToken
else
{
var bitmap = new BitmapImage();
await bitmap.SetSourceAsync(stream.AsRandomAccessStream());
Preview = bitmap;
await bitmap.SetSourceAsync(stream.AsRandomAccessStream());
}
});
});
Expand Down

0 comments on commit d9ef135

Please sign in to comment.