diff --git a/NuGet.config b/NuGet.config index d7fb073a2b47..131e022afa45 100644 --- a/NuGet.config +++ b/NuGet.config @@ -10,19 +10,15 @@ - - - - - - + + @@ -35,6 +31,10 @@ + + + + diff --git a/src/Controls/samples/Controls.Sample/Pages/Controls/TitleBarPage.xaml b/src/Controls/samples/Controls.Sample/Pages/Controls/TitleBarPage.xaml index 9a77c401124c..5f2a6c48f89c 100644 --- a/src/Controls/samples/Controls.Sample/Pages/Controls/TitleBarPage.xaml +++ b/src/Controls/samples/Controls.Sample/Pages/Controls/TitleBarPage.xaml @@ -2,16 +2,15 @@ - - @@ -20,7 +19,7 @@ Text="Content Options" FontSize="24"/> - + ().SetPrefersLargeTitles(true); var page = new ContentPage { Title = "New Title", BackgroundColor = Colors.Red }; - page.On().SetUseSafeArea(true); + page.SafeAreaEdges = Microsoft.Maui.SafeAreaEdges.All; var listView = new ListView(ListViewCachingStrategy.RecycleElementAndDataTemplate) { HasUnevenRows = true, diff --git a/src/Controls/samples/Controls.Sample/Pages/PlatformSpecifics/iOS/iOSSafeAreaPage.xaml b/src/Controls/samples/Controls.Sample/Pages/PlatformSpecifics/iOS/iOSSafeAreaPage.xaml index 0a2a844fad9f..012f2d184663 100644 --- a/src/Controls/samples/Controls.Sample/Pages/PlatformSpecifics/iOS/iOSSafeAreaPage.xaml +++ b/src/Controls/samples/Controls.Sample/Pages/PlatformSpecifics/iOS/iOSSafeAreaPage.xaml @@ -2,10 +2,9 @@ + SafeAreaEdges="None">