1
0
mirror of https://github.com/bitwarden/mobile.git synced 2024-11-23 11:45:38 +01:00

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;
if(BindingContext is VaultListPageModel.Cipher item)
{
Icon.Source = item.Icon;
if(item.Type == Enums.CipherType.Login)
{
Icon.LoadingPlaceholder = "login.png";
}
Icon.Source = item.Icon;
}
base.OnBindingContextChanged();