Skip to content

Commit

Permalink
Revert mainpage
Browse files Browse the repository at this point in the history
  • Loading branch information
Clrs17 committed Nov 4, 2023
1 parent e45fdc7 commit 9b8f7e0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions CoreAppUWP/Pages/MainPage.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public sealed partial class MainPage : Page
[
("Home", typeof(HomePage))
];
private AppWindow m_AppWindow;

public MainPage()
{
InitializeComponent();
Expand All @@ -39,8 +39,7 @@ protected override void OnNavigatedTo(NavigationEventArgs e)
NavigationView_Navigate("Home", new EntranceNavigationTransitionInfo());
SystemNavigationManager.GetForCurrentView().BackRequested += System_BackRequested;
CoreApplication.GetCurrentView().TitleBar.LayoutMetricsChanged += TitleBar_LayoutMetricsChanged;
m_AppWindow = GetAppWindowForCurrentWindow();
m_AppWindow.Closing += M_AppWindow_Closing;

}

private void Current_Closed(object sender, WindowEventArgs args)
Expand Down

0 comments on commit 9b8f7e0

Please sign in to comment.