mirror of
https://github.com/bitwarden/mobile
synced 2026-01-09 20:13:18 +00:00
revert back to default ios bar color. Added new Add Site view controller for extension (WIP)
This commit is contained in:
@@ -18,12 +18,14 @@ namespace Bit.iOS.Controls
|
||||
var page = (ExtendedTabbedPage)Element;
|
||||
|
||||
TabBar.TintColor = page.TintColor.ToUIColor();
|
||||
TabBar.BarTintColor = page.BarTintColor.ToUIColor();
|
||||
TabBar.BackgroundColor = page.BackgroundColor.ToUIColor();
|
||||
|
||||
// remove top border
|
||||
// ref: http://stackoverflow.com/questions/14371343/ios-uitabbar-remove-top-shadow-gradient-line
|
||||
TabBar.SetValueForKeyPath(FromObject(true), new NSString("_hidesShadow"));
|
||||
if(page.NoBorder)
|
||||
{
|
||||
// remove top border
|
||||
// ref: http://stackoverflow.com/questions/14371343/ios-uitabbar-remove-top-shadow-gradient-line
|
||||
TabBar.SetValueForKeyPath(FromObject(true), new NSString("_hidesShadow"));
|
||||
}
|
||||
}
|
||||
|
||||
public override void ViewWillAppear(bool animated)
|
||||
|
||||
Reference in New Issue
Block a user