Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
jerry08 committed Jul 13, 2024
1 parent d334c84 commit 6ad5da6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 4 additions & 0 deletions Yosu/App.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,8 @@ public static void RefreshCurrentPageBehaviors()

var gray900Color = Current.Resources["Gray900"];

#if !MACCATALYST
#pragma warning disable CA1416
foreach (var behavior in page.Behaviors.OfType<StatusBarBehavior>())
{
behavior.SetAppTheme(
Expand All @@ -121,6 +123,8 @@ public static void RefreshCurrentPageBehaviors()
StatusBarStyle.LightContent
);
}
#pragma warning restore CA1416
#endif

foreach (var behavior in page.Behaviors.OfType<NavigationBarBehavior>())
{
Expand Down
4 changes: 1 addition & 3 deletions Yosu/Yosu.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@
<TargetFrameworks>$(NetVersion)-android;$(NetVersion)-ios</TargetFrameworks>
<OutputType>Exe</OutputType>
<RootNamespace>Yosu</RootNamespace>
<!--<UseMaui>true</UseMaui>-->
<!-- Rollback MAUI version because of bug (https://github.com/dotnet/maui/issues/14520) -->
<!--<MauiVersion>7.0.59</MauiVersion>-->
<UseMaui>true</UseMaui>
<SingleProject>true</SingleProject>

<!-- Display name -->
Expand Down

0 comments on commit 6ad5da6

Please sign in to comment.