mirror of
https://github.com/bitwarden/android.git
synced 2024-10-31 23:25:45 +03:00
set placeholder first
This commit is contained in:
parent
ed7e43ed6e
commit
2d126300d8
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||||
|
|
Loading…
Reference in a new issue