mirror of
https://github.com/bitwarden/android.git
synced 2024-12-25 10:28:28 +03: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:
parent
6b55fc3032
commit
8168089591
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue