mirror of
https://github.com/bitwarden/mobile
synced 2026-01-09 12:03:16 +00:00
Button styling update
This commit is contained in:
@@ -65,7 +65,8 @@ namespace Bit.App.Pages
|
||||
VerticalOptions = LayoutOptions.End,
|
||||
Style = (Style)Application.Current.Resources["btn-primaryAccent"],
|
||||
HorizontalOptions = LayoutOptions.Fill,
|
||||
BackgroundColor = Color.Transparent
|
||||
BackgroundColor = Color.Transparent,
|
||||
FontSize = Device.GetNamedSize(NamedSize.Medium, typeof(Button))
|
||||
};
|
||||
|
||||
var buttonStackLayout = new StackLayout
|
||||
|
||||
@@ -45,12 +45,13 @@ namespace Bit.App.Pages
|
||||
Text = "See Development Progress",
|
||||
Command = new Command(() =>
|
||||
{
|
||||
_googleAnalyticsService.TrackAppEvent("SeeProgress");
|
||||
_googleAnalyticsService.TrackAppEvent("SeeAutofillProgress");
|
||||
Device.OpenUri(new Uri("https://github.com/bitwarden/mobile/issues/1"));
|
||||
}),
|
||||
VerticalOptions = LayoutOptions.End,
|
||||
HorizontalOptions = LayoutOptions.Fill,
|
||||
Style = (Style)Application.Current.Resources["btn-primary"]
|
||||
Style = (Style)Application.Current.Resources["btn-primary"],
|
||||
FontSize = Device.GetNamedSize(NamedSize.Medium, typeof(Button))
|
||||
};
|
||||
|
||||
var stackLayout = new StackLayout
|
||||
|
||||
@@ -128,9 +128,10 @@ namespace Bit.App.Pages
|
||||
{
|
||||
var addSiteButton = new ExtendedButton
|
||||
{
|
||||
Text = "Add a site",
|
||||
IsVisible = !_favorites,
|
||||
Command = new Command(() => AddSite())
|
||||
Text = "Add a Site",
|
||||
Command = new Command(() => AddSite()),
|
||||
Style = (Style)Application.Current.Resources["btn-primaryAccent"],
|
||||
FontSize = Device.GetNamedSize(NamedSize.Medium, typeof(Button))
|
||||
};
|
||||
|
||||
NoDataStackLayout.Children.Add(addSiteButton);
|
||||
|
||||
Reference in New Issue
Block a user