Skip to content

Commit

Permalink
Remove the old code to set the status bar behavior values (#1713)
Browse files Browse the repository at this point in the history
Co-authored-by: Shaun Lawrence <[email protected]>
Co-authored-by: Gerald Versluis <[email protected]>
  • Loading branch information
3 people authored Feb 26, 2024
1 parent 8df2c9f commit 739c843
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,4 @@ public StatusBarBehaviorPage(StatusBarBehaviorViewModel viewModel)
{
InitializeComponent();
}

protected override void OnNavigatedTo(NavigatedToEventArgs args)
{
base.OnNavigatedTo(args);

var statusBarColor = Color.FromRgb(BindingContext.RedSliderValue, BindingContext.GreenSliderValue, BindingContext.BlueSliderValue);
CommunityToolkit.Maui.Core.Platform.StatusBar.SetColor(statusBarColor);
}
}

0 comments on commit 739c843

Please sign in to comment.