1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-20 02:03:49 +00:00

BEEEP: Colorize hidden custom field when value visible (#1813)

This commit is contained in:
Daniel James Smith
2022-02-25 21:47:21 +01:00
committed by GitHub
parent fac295c97b
commit 317e7dad9a
2 changed files with 5 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
@@ -768,6 +768,8 @@ namespace Bit.App.Pages
}
}
public FormattedString ColoredHiddenValue => PasswordFormatter.FormatPassword(_field.Value);
public Command ToggleHiddenValueCommand { get; set; }
public string ShowHiddenValueIcon => _showHiddenValue ? BitwardenIcons.EyeSlash : BitwardenIcons.Eye;