diff --git a/src/Controls/tests/DeviceTests/Elements/Modal/ModalTests.cs b/src/Controls/tests/DeviceTests/Elements/Modal/ModalTests.cs index abac26a5bb5a..7dbab7954deb 100644 --- a/src/Controls/tests/DeviceTests/Elements/Modal/ModalTests.cs +++ b/src/Controls/tests/DeviceTests/Elements/Modal/ModalTests.cs @@ -722,6 +722,7 @@ await CreateHandlerAndAddToWindow(window, async handler => } #endif +#if ANDROID [Fact("Dont leak with Animation")] public async Task ModalPageDontLeakWithAnimation() { @@ -751,6 +752,7 @@ await CreateHandlerAndAddToWindow(window, async handler => await AssertionExtensions.WaitForGC(references.ToArray()); } +#endif class PageTypes : IEnumerable {