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:
parent
ed7e43ed6e
commit
2d126300d8
@ -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 New Issue
Block a user