mirror of
https://github.com/bitwarden/android.git
synced 2024-11-01 07:35:52 +03:00
try again button for ios yubikey
This commit is contained in:
parent
2e5ba0335d
commit
22a0045796
1 changed files with 15 additions and 0 deletions
|
@ -264,6 +264,21 @@ namespace Bit.App.Pages
|
|||
Spacing = 0
|
||||
};
|
||||
|
||||
if(Device.RuntimePlatform == Device.iOS)
|
||||
{
|
||||
var tryAgainButton = new ExtendedButton
|
||||
{
|
||||
Text = AppResources.UseAnotherTwoStepMethod,
|
||||
Style = (Style)Application.Current.Resources["btn-primaryAccent"],
|
||||
Margin = new Thickness(15, 0, 15, 25),
|
||||
Command = new Command(() => ListenYubiKey(true, true)),
|
||||
Uppercase = false,
|
||||
BackgroundColor = Color.Transparent,
|
||||
VerticalOptions = LayoutOptions.Start
|
||||
};
|
||||
layout.Children.Insert(3, tryAgainButton);
|
||||
}
|
||||
|
||||
table.WrappingStackLayout = () => layout;
|
||||
scrollView.Content = layout;
|
||||
ToolbarItems.Add(continueToolbarItem);
|
||||
|
|
Loading…
Reference in a new issue