1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-18 01:03:24 +00:00

Button uppercase styling enforcement

This commit is contained in:
Kyle Spearrin
2016-08-24 00:07:46 -04:00
parent 2262e1c4c2
commit d4f52bce2b
8 changed files with 28 additions and 18 deletions

View File

@@ -46,13 +46,14 @@ namespace Bit.App.Pages
PinControl.Label.SetBinding<PinPageModel>(Label.TextProperty, s => s.LabelText);
PinControl.Entry.SetBinding<PinPageModel>(Entry.TextProperty, s => s.PIN);
var logoutButton = new Button
var logoutButton = new ExtendedButton
{
Text = AppResources.LogOut,
Command = new Command(async () => await LogoutAsync()),
VerticalOptions = LayoutOptions.End,
Style = (Style)Application.Current.Resources["btn-primaryAccent"],
BackgroundColor = Color.Transparent
BackgroundColor = Color.Transparent,
Uppercase = false
};
var stackLayout = new StackLayout