Praeclarum.UI.DocumentsViewController.SetNormalNav C# (CSharp) Method

SetNormalNav() private method

private SetNormalNav ( bool animated ) : void
animated bool
return void
		void SetNormalNav (bool animated)
		{
			if (ios7) {
				var theme = DocumentAppDelegate.Shared.Theme;
				NavigationController.NavigationBar.BarStyle = theme.NavigationBarStyle;
				NavigationController.NavigationBar.BarTintColor = theme.NavigationBackgroundColor;
				NavigationController.NavigationBar.TintColor = UIApplication.SharedApplication.KeyWindow.TintColor;
				NavigationController.NavigationBar.TitleTextAttributes = new UIStringAttributes {
					ForegroundColor = theme.NavigationTextColor,
				};
				SetNeedsStatusBarAppearanceUpdate ();
				NavigationController.SetNeedsStatusBarAppearanceUpdate ();
			} else {
//				NavigationController.NavigationBar.BarStyle = UIBarStyle.Default;
			}

			UpdateToolbar (animated);
		}