1
0
mirror of https://github.com/bitwarden/mobile.git synced 2025-01-21 21:01:50 +01:00

fix: Don't load icon if icon loading is disabled

This commit is contained in:
1fexd 2024-05-10 00:47:44 +02:00
parent 477b1cca44
commit ab24cbdd41
No known key found for this signature in database
GPG Key ID: B459DD424E49FAAD

View File

@ -31,6 +31,11 @@ namespace Bit.App.Pages
{
get
{
if (!_websiteIconsEnabled)
{
return null;
}
if (_iconImageSource == string.Empty) // default value since icon source can return null
{
_iconImageSource = IconImageHelper.GetIconImage(Cipher);