Skip to content

Commit

Permalink
Incorrect type name
Browse files Browse the repository at this point in the history
  • Loading branch information
mattleibow committed May 7, 2022
1 parent 628ae7c commit 1802d17
Showing 1 changed file with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,18 @@
using System.IO;
using System;
using System.ComponentModel;
using System.IO;

namespace Microsoft.Maui.Graphics.Win2D
{
public class SkiaImageLoadingService : IImageLoadingService
public class W2DImageLoadingService : IImageLoadingService
{
public IImage FromStream(Stream stream, ImageFormat formatHint = ImageFormat.Png)
{
return W2DImage.FromStream(stream, formatHint);
}
}

[Obsolete]
[EditorBrowsable(EditorBrowsableState.Never)]
public class SkiaImageLoadingService : W2DImageLoadingService { }
}

0 comments on commit 1802d17

Please sign in to comment.