Updating icons for Linked and Boolean fields (#1935)

Update to icons used for Boolean and Linked to use real icons

Co-authored-by: CarleyDiaz-Bitwarden <103955722+CarleyDiaz-Bitwarden@users.noreply.github.com>
This commit is contained in:
CarleyDiaz-Bitwarden-zz 2022-06-02 16:43:14 -04:00 committed by GitHub
parent 6b55fc3032
commit 8168089591
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -756,12 +756,12 @@ namespace Bit.App.Pages
{
if (IsBooleanType)
{
return _field.Value == "true" ? "" : "";
return _field.Value == "true" ? BitwardenIcons.Square : BitwardenIcons.CheckSquare;
}
else if (IsLinkedType)
{
var i18nKey = _cipher.LinkedFieldI18nKey(Field.LinkedId.GetValueOrDefault());
return " " + _i18nService.T(i18nKey);
return BitwardenIcons.Link + _i18nService.T(i18nKey);
}
else
{