mirror of
https://github.com/bitwarden/mobile
synced 2026-01-05 01:53:17 +00:00
lock page styling.
This commit is contained in:
@@ -37,22 +37,25 @@ namespace Bit.App.Pages
|
||||
{
|
||||
Text = "Use Fingerprint to Unlock",
|
||||
Command = new Command(async () => await CheckFingerprintAsync()),
|
||||
VerticalOptions = LayoutOptions.EndAndExpand
|
||||
VerticalOptions = LayoutOptions.EndAndExpand,
|
||||
TextColor = Color.FromHex("333333")
|
||||
};
|
||||
|
||||
var logoutButton = new Button
|
||||
{
|
||||
Text = AppResources.LogOut,
|
||||
Command = new Command(async () => await LogoutAsync()),
|
||||
VerticalOptions = LayoutOptions.End
|
||||
VerticalOptions = LayoutOptions.End,
|
||||
TextColor = Color.FromHex("333333")
|
||||
};
|
||||
|
||||
var stackLayout = new StackLayout { Padding = new Thickness( 30, 40), Spacing = 10 };
|
||||
var stackLayout = new StackLayout { Padding = new Thickness(30, 40), Spacing = 10 };
|
||||
stackLayout.Children.Add(fingerprintButton);
|
||||
stackLayout.Children.Add(logoutButton);
|
||||
|
||||
Title = "Verify Fingerprint";
|
||||
Content = stackLayout;
|
||||
BackgroundImage = "bg.png";
|
||||
}
|
||||
|
||||
protected override bool OnBackButtonPressed()
|
||||
|
||||
@@ -39,7 +39,8 @@ namespace Bit.App.Pages
|
||||
{
|
||||
Text = AppResources.LogOut,
|
||||
Command = new Command(async () => await LogoutAsync()),
|
||||
VerticalOptions = LayoutOptions.End
|
||||
VerticalOptions = LayoutOptions.End,
|
||||
TextColor = Color.FromHex("333333")
|
||||
};
|
||||
|
||||
var stackLayout = new StackLayout
|
||||
@@ -55,6 +56,7 @@ namespace Bit.App.Pages
|
||||
Title = "Verify PIN";
|
||||
Content = stackLayout;
|
||||
Content.GestureRecognizers.Add(tgr);
|
||||
BackgroundImage = "bg.png";
|
||||
BindingContext = Model;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user