Skip to content

Commit

Permalink
Small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ysmoradi committed Sep 26, 2024
1 parent f6264d6 commit 9405393
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@
<PackageReference Condition=" '$(offlineDb)' == 'true' OR '$(offlineDb)' == ''" Include="Microsoft.EntityFrameworkCore.Sqlite" />
<PackageReference Include="Bit.BlazorUI.Extras" />
<!--/-:msbuild-conditional:noEmit -->
<PackageReference Include="Bit.CodeAnalyzers" PrivateAssets="all" />
<PackageReference Include="Bit.SourceGenerators" PrivateAssets="all" />
<PackageReference Include="Microsoft.AspNetCore.Components.Authorization" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" />
<PackageReference Include="Microsoft.AspNetCore.Components.Web" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@
<PackageReference Include="Microsoft.Playwright.MSTest" />
<PackageReference Include="MSTest.TestAdapter" />
<PackageReference Include="MSTest.TestFramework" />
<PackageReference Include="Bit.CodeAnalyzers" PrivateAssets="all" />
<PackageReference Include="Bit.SourceGenerators" PrivateAssets="all" />
</ItemGroup>

<ItemGroup>
Expand Down

0 comments on commit 9405393

Please sign in to comment.