Skip to content

Commit

Permalink
fix: ThirdPartyControlsSample - do not show incompatable pages on Win…
Browse files Browse the repository at this point in the history
…dows
  • Loading branch information
Dreamescaper committed Nov 9, 2024
1 parent 14c7a6a commit fd17101
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions samples/ThirdPartyControlsSample/AppShell.razor
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
@using ThirdPartyControlsSample.Pages

<Shell>
<CommunityToolkitPage/>
<CommunityToolkitBehaviors/>
<XCalendarPage/>
<MaterialComponentsPage/>
<SkiaCanvasPage/>
<BottomSheetPage/>
<CommunityToolkitPage />
<CommunityToolkitBehaviors />
<XCalendarPage />
<SkiaCanvasPage />

@if (DeviceInfo.Platform == DevicePlatform.Android || DeviceInfo.Platform == DevicePlatform.iOS)
{
<MaterialComponentsPage />
<BottomSheetPage />
}
</Shell>

0 comments on commit fd17101

Please sign in to comment.