mirror of
https://github.com/Microsoft/calculator.git
synced 2025-08-22 14:13:30 -07:00
Formated the code.
This commit is contained in:
parent
bd22807420
commit
5f7fa6d382
1 changed files with 1 additions and 6 deletions
|
@ -607,11 +607,6 @@ void MainPage::OnNavItemInvoked(_In_ Microsoft::UI::Xaml::Controls::NavigationVi
|
|||
auto item = dynamic_cast<MUXC::NavigationViewItem^>(e->InvokedItemContainer);
|
||||
if (item != nullptr)
|
||||
{
|
||||
auto selectedItem = static_cast<NavCategory^>(item->DataContext);
|
||||
|
||||
if (selectedItem->Mode == Model->Mode)
|
||||
{
|
||||
NavView->IsPaneOpen = false;
|
||||
}
|
||||
NavView->IsPaneOpen = false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue