mirror of
https://github.com/bitwarden/android.git
synced 2024-12-21 00:31:58 +03:00
Revert micro sizes on android
This commit is contained in:
parent
8579b7130a
commit
fd09833df1
6 changed files with 2 additions and 16 deletions
|
@ -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
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue