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"], Style = (Style)Application.Current.Resources["text-muted"],
HorizontalOptions = LayoutOptions.FillAndExpand HorizontalOptions = LayoutOptions.FillAndExpand
}; };
if(Device.OS == TargetPlatform.Android)
{
Label.FontSize = Device.GetNamedSize(NamedSize.Micro, typeof(Label));
}
} }
Entry = new ExtendedEntry Entry = new ExtendedEntry

View file

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

View file

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

View file

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

View file

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

View file

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