Skip to content

Commit

Permalink
Revert "Revert default for UseSafeAreaProperty to value from .NET 6 f…
Browse files Browse the repository at this point in the history
…or iOS (#16093) (#16379)" (#17458)

This reverts commit d47c215.
  • Loading branch information
rmarinho authored Sep 18, 2023
1 parent 607ee87 commit d2f228c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,7 @@ public static IPlatformElementConfiguration<iOS, FormsElement> SetPreferredStatu
}

/// <summary>Bindable property for attached property <c>UseSafeArea</c>.</summary>
#if MACCATALYST
public static readonly BindableProperty UseSafeAreaProperty = BindableProperty.Create("UseSafeArea", typeof(bool), typeof(Page), true);
#else
public static readonly BindableProperty UseSafeAreaProperty = BindableProperty.Create("UseSafeArea", typeof(bool), typeof(Page), false);
#endif

/// <include file="../../../../docs/Microsoft.Maui.Controls.PlatformConfiguration.iOSSpecific/Page.xml" path="//Member[@MemberName='GetUseSafeArea']/Docs/*" />
public static bool GetUseSafeArea(BindableObject element)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,7 @@ await CreateHandlerAndAddToWindow<WindowHandlerStub>(new Window(navPage), async
});
}

#if IOS
[Theory(Skip = "Test doesn't work on iOS yet; probably because of https://github.com/dotnet/maui/issues/10591")]
#else
[Theory]
#endif
#if ANDROID
[InlineData(true)]
#endif
Expand Down

0 comments on commit d2f228c

Please sign in to comment.