set placeholder first

This commit is contained in:
Kyle Spearrin 2017-10-23 13:08:46 -04:00
parent ed7e43ed6e
commit 2d126300d8

View file

@ -39,11 +39,11 @@ namespace Bit.App.Controls
Icon.Source = null; Icon.Source = null;
if(BindingContext is VaultListPageModel.Cipher item) if(BindingContext is VaultListPageModel.Cipher item)
{ {
Icon.Source = item.Icon;
if(item.Type == Enums.CipherType.Login) if(item.Type == Enums.CipherType.Login)
{ {
Icon.LoadingPlaceholder = "login.png"; Icon.LoadingPlaceholder = "login.png";
} }
Icon.Source = item.Icon;
} }
base.OnBindingContextChanged(); base.OnBindingContextChanged();