From d39211310d304dce8fd9ff5a27f1039ef55f415f Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Tue, 2 May 2017 19:41:10 -0400 Subject: [PATCH] make notes taller. autofocus name field on add --- src/App/Pages/Vault/VaultAddLoginPage.cs | 4 +++- src/App/Pages/Vault/VaultEditLoginPage.cs | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/App/Pages/Vault/VaultAddLoginPage.cs b/src/App/Pages/Vault/VaultAddLoginPage.cs index 298b1b81f..de4ee0bfb 100644 --- a/src/App/Pages/Vault/VaultAddLoginPage.cs +++ b/src/App/Pages/Vault/VaultAddLoginPage.cs @@ -55,7 +55,7 @@ namespace Bit.App.Pages private void Init() { - NotesCell = new FormEditorCell(height: 90); + NotesCell = new FormEditorCell(height: 180); PasswordCell = new FormEntryCell(AppResources.Password, isPassword: true, nextElement: NotesCell.Editor, useButton: true); PasswordCell.Button.Image = "eye"; @@ -230,6 +230,8 @@ namespace Bit.App.Pages AppResources.Ok); } } + + NameCell.Entry.FocusWithDelay(); } protected override void OnDisappearing() diff --git a/src/App/Pages/Vault/VaultEditLoginPage.cs b/src/App/Pages/Vault/VaultEditLoginPage.cs index 34a86f76f..f0835d89b 100644 --- a/src/App/Pages/Vault/VaultEditLoginPage.cs +++ b/src/App/Pages/Vault/VaultEditLoginPage.cs @@ -50,7 +50,7 @@ namespace Bit.App.Pages return; } - NotesCell = new FormEditorCell(height: 90); + NotesCell = new FormEditorCell(height: 180); NotesCell.Editor.Text = login.Notes?.Decrypt(login.OrganizationId); PasswordCell = new FormEntryCell(AppResources.Password, isPassword: true, nextElement: NotesCell.Editor,