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(