Skip to content

Commit 739c843

Browse files
Remove the old code to set the status bar behavior values (#1713)
Co-authored-by: Shaun Lawrence <17139988+bijington@users.noreply.github.com> Co-authored-by: Gerald Versluis <gerald@verslu.is>
1 parent 8df2c9f commit 739c843

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

samples/CommunityToolkit.Maui.Sample/Pages/Behaviors/StatusBarBehaviorPage.xaml.cs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,4 @@ public StatusBarBehaviorPage(StatusBarBehaviorViewModel viewModel)
99
{
1010
InitializeComponent();
1111
}
12-
13-
protected override void OnNavigatedTo(NavigatedToEventArgs args)
14-
{
15-
base.OnNavigatedTo(args);
16-
17-
var statusBarColor = Color.FromRgb(BindingContext.RedSliderValue, BindingContext.GreenSliderValue, BindingContext.BlueSliderValue);
18-
CommunityToolkit.Maui.Core.Platform.StatusBar.SetColor(statusBarColor);
19-
}
2012
}

0 commit comments

Comments
 (0)