diff --git a/src/App/Pages/Vault/AddEditPageViewModel.cs b/src/App/Pages/Vault/AddEditPageViewModel.cs index 921c93c4d..d6aac2553 100644 --- a/src/App/Pages/Vault/AddEditPageViewModel.cs +++ b/src/App/Pages/Vault/AddEditPageViewModel.cs @@ -317,7 +317,6 @@ namespace Bit.App.Pages }; Cipher.Login.Uris = new List { new LoginUriView { Uri = DefaultUri } }; Cipher.SecureNote.Type = SecureNoteType.Generic; - TypeSelectedIndex = TypeOptions.FindIndex(k => k.Value == Cipher.Type); if(appOptions != null) { @@ -335,6 +334,7 @@ namespace Bit.App.Pages } } + TypeSelectedIndex = TypeOptions.FindIndex(k => k.Value == Cipher.Type); FolderSelectedIndex = string.IsNullOrWhiteSpace(Cipher.FolderId) ? FolderOptions.Count - 1 : FolderOptions.FindIndex(k => k.Value == Cipher.FolderId); CardBrandSelectedIndex = string.IsNullOrWhiteSpace(Cipher.Card?.Brand) ? 0 :