mirror of
https://github.com/bitwarden/android.git
synced 2024-12-24 18:08:26 +03:00
set type selected index later
This commit is contained in:
parent
312b6c2d44
commit
1d95c73173
1 changed files with 1 additions and 1 deletions
|
@ -317,7 +317,6 @@ namespace Bit.App.Pages
|
|||
};
|
||||
Cipher.Login.Uris = new List<LoginUriView> { 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 :
|
||||
|
|
Loading…
Reference in a new issue