mirror of
https://github.com/bitwarden/android.git
synced 2024-10-31 23:25:45 +03:00
hides shadow on nav bar
This commit is contained in:
parent
6c56e44b61
commit
a3383af4ae
1 changed files with 7 additions and 0 deletions
|
@ -19,6 +19,13 @@ namespace Bit.iOS.Renderers
|
||||||
return;
|
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 navigationItem = NavigationController.TopViewController.NavigationItem;
|
||||||
var leftNativeButtons = (navigationItem.LeftBarButtonItems ?? new UIBarButtonItem[] { }).ToList();
|
var leftNativeButtons = (navigationItem.LeftBarButtonItems ?? new UIBarButtonItem[] { }).ToList();
|
||||||
var rightNativeButtons = (navigationItem.RightBarButtonItems ?? new UIBarButtonItem[] { }).ToList();
|
var rightNativeButtons = (navigationItem.RightBarButtonItems ?? new UIBarButtonItem[] { }).ToList();
|
||||||
|
|
Loading…
Reference in a new issue