mirror of
https://github.com/Microsoft/calculator.git
synced 2025-08-22 22:23:29 -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);
|
auto item = dynamic_cast<MUXC::NavigationViewItem^>(e->InvokedItemContainer);
|
||||||
if (item != nullptr)
|
if (item != nullptr)
|
||||||
{
|
{
|
||||||
auto selectedItem = static_cast<NavCategory^>(item->DataContext);
|
NavView->IsPaneOpen = false;
|
||||||
|
|
||||||
if (selectedItem->Mode == Model->Mode)
|
|
||||||
{
|
|
||||||
NavView->IsPaneOpen = false;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue