Skip to content

Commit

Permalink
status bar looks better while switching
Browse files Browse the repository at this point in the history
  • Loading branch information
Clancey committed Sep 15, 2013
1 parent 3e3c476 commit 3f45eac
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion FlyoutNavigation/FlyoutNavigationController.cs
Expand Up @@ -302,7 +302,7 @@ protected void NavigationItemSelected(int index)
SelectedIndexChanged();
return;
}

UIApplication.SharedApplication.SetStatusBarHidden(false,UIStatusBarAnimation.Fade);
bool isOpen = false;

if (mainView != null)
Expand All @@ -322,6 +322,8 @@ protected void NavigationItemSelected(int index)
AddChildViewController(CurrentViewController);
if (!HideShadow)
View.InsertSubviewBelow(shadowView, mainView);


if (!ShouldStayOpen)
HideMenu();
if (SelectedIndexChanged != null)
Expand Down

0 comments on commit 3f45eac

Please sign in to comment.