1
0
mirror of https://github.com/bitwarden/mobile.git synced 2024-12-26 16:57:59 +01:00

missing props on TokenCell

This commit is contained in:
Kyle Spearrin 2018-01-18 08:09:18 -05:00
parent 3f31d78db1
commit 6f119f25f4

View File

@ -93,7 +93,8 @@ namespace Bit.App.Pages
On = false On = false
}; };
var continueToolbarItem = new ToolbarItem(AppResources.Continue, Helpers.ToolbarImage("ion_chevron_right.png"), async () => var continueToolbarItem = new ToolbarItem(AppResources.Continue,
Helpers.ToolbarImage("ion_chevron_right.png"), async () =>
{ {
var token = TokenCell?.Entry.Text.Trim().Replace(" ", ""); var token = TokenCell?.Entry.Text.Trim().Replace(" ", "");
await LogInAsync(token); await LogInAsync(token);
@ -240,8 +241,7 @@ namespace Bit.App.Pages
Margin = new Thickness(0, 0, 0, 25) Margin = new Thickness(0, 0, 0, 25)
}; };
TokenCell = new FormEntryCell("", imageSource: "lock"); TokenCell = new FormEntryCell("", isPassword: true, imageSource: "lock", useLabelAsPlaceholder: true);
TokenCell.Entry.ReturnType = ReturnType.Go; TokenCell.Entry.ReturnType = ReturnType.Go;
var table = new TwoFactorTable( var table = new TwoFactorTable(