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

Turn off keyboard suggestions for password entry on vault add/edit

This commit is contained in:
Kyle Spearrin 2016-11-08 00:21:36 -05:00
parent 2e883c2050
commit 229dc03b23
2 changed files with 4 additions and 0 deletions

View File

@ -45,6 +45,8 @@ namespace Bit.App.Pages
useButton: true); useButton: true);
PasswordCell.Button.Image = "eye"; PasswordCell.Button.Image = "eye";
PasswordCell.Button.Clicked += PasswordButton_Clicked; PasswordCell.Button.Clicked += PasswordButton_Clicked;
PasswordCell.Entry.DisableAutocapitalize = true;
PasswordCell.Entry.Autocorrect = false;
var usernameCell = new FormEntryCell(AppResources.Username, nextElement: PasswordCell.Entry); var usernameCell = new FormEntryCell(AppResources.Username, nextElement: PasswordCell.Entry);
usernameCell.Entry.DisableAutocapitalize = true; usernameCell.Entry.DisableAutocapitalize = true;

View File

@ -51,6 +51,8 @@ namespace Bit.App.Pages
PasswordCell.Entry.Text = site.Password?.Decrypt(); PasswordCell.Entry.Text = site.Password?.Decrypt();
PasswordCell.Button.Image = "eye"; PasswordCell.Button.Image = "eye";
PasswordCell.Button.Clicked += PasswordButton_Clicked; PasswordCell.Button.Clicked += PasswordButton_Clicked;
PasswordCell.Entry.DisableAutocapitalize = true;
PasswordCell.Entry.Autocorrect = false;
var usernameCell = new FormEntryCell(AppResources.Username, nextElement: PasswordCell.Entry); var usernameCell = new FormEntryCell(AppResources.Username, nextElement: PasswordCell.Entry);
usernameCell.Entry.Text = site.Username?.Decrypt(); usernameCell.Entry.Text = site.Username?.Decrypt();