Skip to content

Commit 52e6dd1

Browse files
committed
Fix compile error
1 parent 9b3c983 commit 52e6dd1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ShanedlerSamples/Library/Common/ViewExtensions.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ internal static void Invoke(this CommandMapper mapper, IElementHandler viewHandl
8888
action?.Invoke(viewHandler, virtualView, args);
8989
}
9090

91+
#if WINDOWS || IOS || MACCATALYST || ANDROID
9192
internal static void SetVirtualView<TElement>(
9293
this IElement view,
9394
IPlatformViewHandler nativeViewHandler,
@@ -135,6 +136,7 @@ internal static void SetVirtualView<TElement>(
135136
_mapper.UpdateProperties(nativeViewHandler, currentVirtualView);
136137
}
137138
static partial void ProcessAutoPackage(IElement element);
139+
#endif
138140

139141
#if IOS || MACCATALYST
140142
internal static Size GetDesiredSize(this IPlatformViewHandler handler, double widthConstraint, double heightConstraint, Size? minimumSize)

0 commit comments

Comments
 (0)