mirror of
https://github.com/bitwarden/mobile
synced 2025-12-15 15:53:44 +00:00
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:
committed by
GitHub
parent
6b55fc3032
commit
8168089591
@@ -756,12 +756,12 @@ namespace Bit.App.Pages
|
|||||||
{
|
{
|
||||||
if (IsBooleanType)
|
if (IsBooleanType)
|
||||||
{
|
{
|
||||||
return _field.Value == "true" ? "" : "";
|
return _field.Value == "true" ? BitwardenIcons.Square : BitwardenIcons.CheckSquare;
|
||||||
}
|
}
|
||||||
else if (IsLinkedType)
|
else if (IsLinkedType)
|
||||||
{
|
{
|
||||||
var i18nKey = _cipher.LinkedFieldI18nKey(Field.LinkedId.GetValueOrDefault());
|
var i18nKey = _cipher.LinkedFieldI18nKey(Field.LinkedId.GetValueOrDefault());
|
||||||
return " " + _i18nService.T(i18nKey);
|
return BitwardenIcons.Link + _i18nService.T(i18nKey);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user