1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-19 17:53:47 +00:00

optimizations for secure notes

This commit is contained in:
Kyle Spearrin
2017-10-20 12:51:41 -04:00
parent cc0bb65096
commit 54b4766680
2 changed files with 12 additions and 2 deletions

View File

@@ -109,7 +109,7 @@ namespace Bit.App.Pages
}
// Notes
NotesCell = new FormEditorCell(Keyboard.Text, 180);
NotesCell = new FormEditorCell(Keyboard.Text, _type == CipherType.SecureNote ? 500 : 180);
// Folders
var folderOptions = new List<string> { AppResources.FolderNone };
@@ -458,6 +458,11 @@ namespace Bit.App.Pages
TopSection.Add(IdPostalCodeCell);
TopSection.Add(IdCountryCell);
}
else if(_type == CipherType.SecureNote)
{
// Name
NameCell.NextElement = NotesCell.Editor;
}
// Make table
TableRoot = new TableRoot