mirror of
https://github.com/bitwarden/android.git
synced 2024-12-25 02:18:27 +03:00
hide yubikey token cell for ios
This commit is contained in:
parent
3315704c14
commit
2e5ba0335d
1 changed files with 12 additions and 8 deletions
|
@ -244,16 +244,20 @@ namespace Bit.App.Pages
|
||||||
Margin = new Thickness(0, 0, 0, 25)
|
Margin = new Thickness(0, 0, 0, 25)
|
||||||
};
|
};
|
||||||
|
|
||||||
TokenCell = new FormEntryCell("", isPassword: true, imageSource: "lock", useLabelAsPlaceholder: true);
|
var section = new TableSection(Helpers.GetEmptyTableSectionTitle())
|
||||||
TokenCell.Entry.ReturnType = ReturnType.Go;
|
{
|
||||||
|
RememberCell
|
||||||
|
};
|
||||||
|
|
||||||
var table = new TwoFactorTable(
|
if(Device.RuntimePlatform != Device.iOS)
|
||||||
new TableSection(Helpers.GetEmptyTableSectionTitle())
|
{
|
||||||
{
|
TokenCell = new FormEntryCell("", isPassword: true, imageSource: "lock",
|
||||||
TokenCell,
|
useLabelAsPlaceholder: true);
|
||||||
RememberCell
|
TokenCell.Entry.ReturnType = ReturnType.Go;
|
||||||
});
|
section.Insert(0, TokenCell);
|
||||||
|
}
|
||||||
|
|
||||||
|
var table = new TwoFactorTable(section);
|
||||||
var layout = new RedrawableStackLayout
|
var layout = new RedrawableStackLayout
|
||||||
{
|
{
|
||||||
Children = { instruction, image, table, anotherMethodButton },
|
Children = { instruction, image, table, anotherMethodButton },
|
||||||
|
|
Loading…
Reference in a new issue