New shell experience.
This commit is contained in:
@@ -3,7 +3,9 @@
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:controls="using:CommunityToolkit.WinUI.Controls"
|
||||
xmlns:domain="using:Wino.Core.Domain">
|
||||
xmlns:domain="using:Wino.Core.Domain"
|
||||
Loaded="ControlLoaded"
|
||||
Unloaded="ControlUnloaded">
|
||||
|
||||
<Grid>
|
||||
<controls:Segmented
|
||||
|
||||
@@ -19,9 +19,6 @@ public sealed partial class AppModeFooterSwitcherControl : UserControl
|
||||
_navigationService = WinoApplication.Current.Services.GetRequiredService<INavigationService>();
|
||||
|
||||
InitializeComponent();
|
||||
|
||||
Loaded += ControlLoaded;
|
||||
Unloaded += ControlUnloaded;
|
||||
}
|
||||
|
||||
private void ControlLoaded(object sender, RoutedEventArgs e)
|
||||
@@ -34,7 +31,6 @@ public sealed partial class AppModeFooterSwitcherControl : UserControl
|
||||
{
|
||||
_statePersistenceService.StatePropertyChanged -= StatePropertyChanged;
|
||||
}
|
||||
|
||||
private void StatePropertyChanged(object? sender, string propertyName)
|
||||
{
|
||||
if (propertyName != nameof(IStatePersistanceService.ApplicationMode))
|
||||
|
||||
Reference in New Issue
Block a user