hides shadow on nav bar

This commit is contained in:
Kyle Spearrin 2019-07-03 20:39:00 -04:00
parent 6c56e44b61
commit a3383af4ae

View file

@ -19,6 +19,13 @@ namespace Bit.iOS.Renderers
return;
}
// Hide bottom line under nav bar
var navBar = NavigationController.NavigationBar;
if(navBar != null)
{
navBar.SetValueForKey(FromObject(true), new Foundation.NSString("hidesShadow"));
}
var navigationItem = NavigationController.TopViewController.NavigationItem;
var leftNativeButtons = (navigationItem.LeftBarButtonItems ?? new UIBarButtonItem[] { }).ToList();
var rightNativeButtons = (navigationItem.RightBarButtonItems ?? new UIBarButtonItem[] { }).ToList();