Skip to content

Commit 716c3f9

Browse files
committed
chore: build errors
1 parent 2c65629 commit 716c3f9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/AddIns/Uno.UI.Svg/SvgProvider.cs

+4-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,10 @@ public UIElement GetCanvas()
9494
=> new SvgCanvas(_owner, this);
9595
#endif
9696

97-
public SkiaSharp.SKPicture? TryGetLoadedDataAsPictureAsync() => _skSvg?.Picture;
97+
#if __SKIA__
98+
public SkiaSharp.SKPicture? TryGetLoadedDataAsPictureAsync()
99+
=> _skSvg?.Picture;
100+
#endif
98101

99102
public
100103
#if !__NETSTD_REFERENCE__

0 commit comments

Comments
 (0)