mirror of
https://github.com/bitwarden/android.git
synced 2024-10-31 23:25:45 +03:00
update yubikey options for ios
This commit is contained in:
parent
3f47ca645b
commit
eefd9bf31c
1 changed files with 10 additions and 5 deletions
|
@ -260,7 +260,7 @@ namespace Bit.App.Pages
|
|||
var table = new TwoFactorTable(section);
|
||||
var layout = new RedrawableStackLayout
|
||||
{
|
||||
Children = { instruction, image, table, anotherMethodButton },
|
||||
Children = { instruction, image, table },
|
||||
Spacing = 0
|
||||
};
|
||||
|
||||
|
@ -268,20 +268,25 @@ namespace Bit.App.Pages
|
|||
{
|
||||
var tryAgainButton = new ExtendedButton
|
||||
{
|
||||
Text = AppResources.UseAnotherTwoStepMethod,
|
||||
Text = "Try Again",
|
||||
Style = (Style)Application.Current.Resources["btn-primaryAccent"],
|
||||
Margin = new Thickness(15, 0, 15, 25),
|
||||
Margin = new Thickness(15, 0, 15, 0),
|
||||
Command = new Command(() => ListenYubiKey(true, true)),
|
||||
Uppercase = false,
|
||||
BackgroundColor = Color.Transparent,
|
||||
VerticalOptions = LayoutOptions.Start
|
||||
};
|
||||
layout.Children.Insert(3, tryAgainButton);
|
||||
layout.Children.Add(tryAgainButton);
|
||||
}
|
||||
else
|
||||
{
|
||||
ToolbarItems.Add(continueToolbarItem);
|
||||
}
|
||||
|
||||
layout.Children.Add(anotherMethodButton);
|
||||
|
||||
table.WrappingStackLayout = () => layout;
|
||||
scrollView.Content = layout;
|
||||
ToolbarItems.Add(continueToolbarItem);
|
||||
|
||||
Title = AppResources.YubiKeyTitle;
|
||||
Content = scrollView;
|
||||
|
|
Loading…
Reference in a new issue