From ab24cbdd4122771777fb8813704274ef17ee8266 Mon Sep 17 00:00:00 2001 From: 1fexd Date: Fri, 10 May 2024 00:47:44 +0200 Subject: [PATCH] fix: Don't load icon if icon loading is disabled --- src/Core/Pages/Vault/CipherItemViewModel.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Core/Pages/Vault/CipherItemViewModel.cs b/src/Core/Pages/Vault/CipherItemViewModel.cs index a5f094d9d..fae06d568 100644 --- a/src/Core/Pages/Vault/CipherItemViewModel.cs +++ b/src/Core/Pages/Vault/CipherItemViewModel.cs @@ -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);