From fd17101b43f9af299dd3d66ab4f71684bee30a95 Mon Sep 17 00:00:00 2001 From: Oleksandr Liakhevych Date: Sat, 9 Nov 2024 17:04:35 +0200 Subject: [PATCH] fix: ThirdPartyControlsSample - do not show incompatable pages on Windows --- samples/ThirdPartyControlsSample/AppShell.razor | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/samples/ThirdPartyControlsSample/AppShell.razor b/samples/ThirdPartyControlsSample/AppShell.razor index 3b8c63c6..ebeb07f3 100644 --- a/samples/ThirdPartyControlsSample/AppShell.razor +++ b/samples/ThirdPartyControlsSample/AppShell.razor @@ -1,10 +1,14 @@ @using ThirdPartyControlsSample.Pages - - - - - - + + + + + + @if (DeviceInfo.Platform == DevicePlatform.Android || DeviceInfo.Platform == DevicePlatform.iOS) + { + + + } \ No newline at end of file