1
0
mirror of https://github.com/bitwarden/mobile.git synced 2025-01-22 21:11:27 +01:00

make notes taller. autofocus name field on add

This commit is contained in:
Kyle Spearrin 2017-05-02 19:41:10 -04:00
parent 0a6fb3ec0a
commit d39211310d
2 changed files with 4 additions and 2 deletions

View File

@ -55,7 +55,7 @@ namespace Bit.App.Pages
private void Init() private void Init()
{ {
NotesCell = new FormEditorCell(height: 90); NotesCell = new FormEditorCell(height: 180);
PasswordCell = new FormEntryCell(AppResources.Password, isPassword: true, nextElement: NotesCell.Editor, PasswordCell = new FormEntryCell(AppResources.Password, isPassword: true, nextElement: NotesCell.Editor,
useButton: true); useButton: true);
PasswordCell.Button.Image = "eye"; PasswordCell.Button.Image = "eye";
@ -230,6 +230,8 @@ namespace Bit.App.Pages
AppResources.Ok); AppResources.Ok);
} }
} }
NameCell.Entry.FocusWithDelay();
} }
protected override void OnDisappearing() protected override void OnDisappearing()

View File

@ -50,7 +50,7 @@ namespace Bit.App.Pages
return; return;
} }
NotesCell = new FormEditorCell(height: 90); NotesCell = new FormEditorCell(height: 180);
NotesCell.Editor.Text = login.Notes?.Decrypt(login.OrganizationId); NotesCell.Editor.Text = login.Notes?.Decrypt(login.OrganizationId);
PasswordCell = new FormEntryCell(AppResources.Password, isPassword: true, nextElement: NotesCell.Editor, PasswordCell = new FormEntryCell(AppResources.Password, isPassword: true, nextElement: NotesCell.Editor,