mirror of
https://github.com/bitwarden/mobile
synced 2025-12-16 16:23:29 +00:00
ios theming
This commit is contained in:
@@ -7,10 +7,15 @@ namespace Bit.iOS.Renderers
|
||||
{
|
||||
public class CustomTabbedRenderer : TabbedRenderer
|
||||
{
|
||||
public CustomTabbedRenderer()
|
||||
protected override void OnElementChanged(VisualElementChangedEventArgs e)
|
||||
{
|
||||
base.OnElementChanged(e);
|
||||
TabBar.Translucent = false;
|
||||
TabBar.Opaque = true;
|
||||
TabBar.SelectedImageTintColor =
|
||||
((Color)Xamarin.Forms.Application.Current.Resources["TabBarSelectedItemColor"]).ToUIColor();
|
||||
TabBar.UnselectedItemTintColor =
|
||||
((Color)Xamarin.Forms.Application.Current.Resources["TabBarItemColor"]).ToUIColor();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user