Skip to content

Commit 23e91bd

Browse files
Bump CommunityToolkit.Maui.Markup and Microsoft.Maui.Controls (#158)
1 parent f02f545 commit 23e91bd

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/HotChocolateGraphQL.Mobile/HotChocolateGraphQL.Mobile.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@
5050
</ItemGroup>
5151

5252
<ItemGroup>
53-
<PackageReference Include="Microsoft.Maui.Controls" Version="9.0.120" />
53+
<PackageReference Include="Microsoft.Maui.Controls" Version="10.0.41" />
5454
<PackageReference Include="Microsoft.Maui.Controls.Compatibility" Version="9.0.22" />
5555
<PackageReference Include="CommunityToolkit.Maui" Version="12.3.0" />
56-
<PackageReference Include="CommunityToolkit.Maui.Markup" Version="5.1.0" />
56+
<PackageReference Include="CommunityToolkit.Maui.Markup" Version="7.0.1" />
5757
<PackageReference Include="StrawberryShake.Maui" Version="14.3.0" />
5858
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.4.2" />
5959
<PackageReference Include="Microsoft.Extensions.Http.Resilience" Version="9.0.0" />

src/HotChocolateGraphQL.Mobile/Pages/BasePage.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ abstract partial class BasePage<TViewModel> : BasePage where TViewModel : BaseV
88
{
99
protected BasePage(in TViewModel viewModel, in string? title = null, in bool shouldUseSafeArea = true) : base(viewModel, title)
1010
{
11-
On<iOS>().SetUseSafeArea(shouldUseSafeArea);
11+
SafeAreaEdges = shouldUseSafeArea ? Microsoft.Maui.SafeAreaEdges.All : Microsoft.Maui.SafeAreaEdges.None;
1212
On<iOS>().SetModalPresentationStyle(UIModalPresentationStyle.FormSheet);
1313
}
1414

0 commit comments

Comments
 (0)