1
0
mirror of https://github.com/bitwarden/mobile.git synced 2024-11-23 11:45:38 +01:00

UINavigationBar appearance for no bottom line

This commit is contained in:
Kyle Spearrin 2019-07-03 17:37:33 -04:00
parent fac9ae4b6c
commit 64506a7080

View File

@ -21,6 +21,8 @@ namespace Bit.iOS.Core.Utilities
public static void SetAppearance(string theme) public static void SetAppearance(string theme)
{ {
SetThemeVariables(theme); SetThemeVariables(theme);
UINavigationBar.Appearance.ShadowImage = new UIImage();
UINavigationBar.Appearance.SetBackgroundImage(new UIImage(), UIBarMetrics.Default);
UIStepper.Appearance.TintColor = MutedColor; UIStepper.Appearance.TintColor = MutedColor;
if(!LightTheme) if(!LightTheme)
{ {