From 9405393429ccfdc80913861c9cb28e4e6671528c Mon Sep 17 00:00:00 2001 From: ysmoradi Date: Thu, 26 Sep 2024 03:28:35 +0200 Subject: [PATCH] Small fixes --- .../Boilerplate.Client.Core/Boilerplate.Client.Core.csproj | 2 -- .../Boilerplate.Client.Maui/Services/MauiDeviceCoordinator.cs | 2 +- .../Bit.Boilerplate/src/Tests/Boilerplate.Tests.csproj | 2 -- 3 files changed, 1 insertion(+), 5 deletions(-) diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Boilerplate.Client.Core.csproj b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Boilerplate.Client.Core.csproj index 49312f85d9..3a79bb0ef4 100644 --- a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Boilerplate.Client.Core.csproj +++ b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Boilerplate.Client.Core.csproj @@ -35,8 +35,6 @@ - - diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Maui/Services/MauiDeviceCoordinator.cs b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Maui/Services/MauiDeviceCoordinator.cs index 49fb69ccb3..ee9090af41 100644 --- a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Maui/Services/MauiDeviceCoordinator.cs +++ b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Maui/Services/MauiDeviceCoordinator.cs @@ -25,7 +25,7 @@ public async Task ApplyTheme(bool isDark) await Device.InvokeOnMainThreadAsync(() => { UIKit.UIApplication.SharedApplication.SetStatusBarStyle(statusBarStyle, false); - Platform.GetCurrentUIViewController().SetNeedsStatusBarAppearanceUpdate(); + Platform.GetCurrentUIViewController()!.SetNeedsStatusBarAppearanceUpdate(); }); #elif MACCATALYST var window = UIKit.UIApplication.SharedApplication.Windows[0].WindowScene; diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/src/Tests/Boilerplate.Tests.csproj b/src/Templates/Boilerplate/Bit.Boilerplate/src/Tests/Boilerplate.Tests.csproj index 604133af8b..7e6347a90f 100644 --- a/src/Templates/Boilerplate/Bit.Boilerplate/src/Tests/Boilerplate.Tests.csproj +++ b/src/Templates/Boilerplate/Bit.Boilerplate/src/Tests/Boilerplate.Tests.csproj @@ -16,8 +16,6 @@ - -