Revert micro sizes on android

This commit is contained in:
Kyle Spearrin 2016-08-17 21:49:03 -04:00
parent 8579b7130a
commit fd09833df1
6 changed files with 2 additions and 16 deletions

View File

@ -23,11 +23,6 @@ namespace Bit.App.Controls
Style = (Style)Application.Current.Resources["text-muted"],
HorizontalOptions = LayoutOptions.FillAndExpand
};
if(Device.OS == TargetPlatform.Android)
{
Label.FontSize = Device.GetNamedSize(NamedSize.Micro, typeof(Label));
}
}
Entry = new ExtendedEntry

View File

@ -37,7 +37,6 @@ namespace Bit.App.Controls
if(Device.OS == TargetPlatform.Android)
{
Label.FontSize = Device.GetNamedSize(NamedSize.Micro, typeof(Label));
stackLayout.Spacing = 0;
}

View File

@ -43,7 +43,6 @@ namespace Bit.App.Controls
if(Device.OS == TargetPlatform.Android)
{
Label.TextColor = Color.Black;
Detail.FontSize = Device.GetNamedSize(NamedSize.Micro, typeof(Label));
}
View = containerStackLayout;

View File

@ -31,11 +31,6 @@ namespace Bit.App.Controls
Style = (Style)Application.Current.Resources["text-muted"]
};
if(Device.OS == TargetPlatform.Android)
{
Label.FontSize = Device.GetNamedSize(NamedSize.Micro, typeof(Label));
}
labelValueStackLayout.Children.Add(Label);
}

View File

@ -109,7 +109,6 @@ namespace Bit.App.Pages
if(Device.OS == TargetPlatform.Android)
{
detail.FontSize = Device.GetNamedSize(NamedSize.Micro, typeof(Label));
label.TextColor = Color.Black;
}

View File

@ -78,7 +78,8 @@ namespace Bit.App.Pages
ItemsSource = PresentationFolders,
HasUnevenRows = true,
GroupHeaderTemplate = new DataTemplate(() => new VaultListHeaderViewCell(this)),
ItemTemplate = new DataTemplate(() => new VaultListViewCell(this))
ItemTemplate = new DataTemplate(() => new VaultListViewCell(this)),
BackgroundColor = Color.White
};
if(Device.OS == TargetPlatform.iOS)
@ -390,8 +391,6 @@ namespace Bit.App.Pages
Button.Image = "more";
Button.Command = new Command(() => ShowMore());
Button.BackgroundColor = Color.Transparent;
BackgroundColor = Color.White;
}
public VaultListPageModel.Site SiteParameter