mirror of
https://github.com/bitwarden/mobile.git
synced 2024-12-18 15:37:42 +01:00
colored password property
This commit is contained in:
parent
9400c22e4f
commit
919eedc0fa
@ -1,9 +1,11 @@
|
||||
using Bit.App.Resources;
|
||||
using Bit.App.Utilities;
|
||||
using Bit.Core.Abstractions;
|
||||
using Bit.Core.Models.Domain;
|
||||
using Bit.Core.Utilities;
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
using Xamarin.Forms;
|
||||
|
||||
namespace Bit.App.Pages
|
||||
{
|
||||
@ -42,9 +44,15 @@ namespace Bit.App.Pages
|
||||
public string Password
|
||||
{
|
||||
get => _password;
|
||||
set => SetProperty(ref _password, value);
|
||||
set => SetProperty(ref _password, value,
|
||||
additionalPropertyNames: new string[]
|
||||
{
|
||||
nameof(ColoredPassword)
|
||||
});
|
||||
}
|
||||
|
||||
public FormattedString ColoredPassword => PasswordFormatter.FormatPassword(Password);
|
||||
|
||||
public bool IsPassword
|
||||
{
|
||||
get => _isPassword;
|
||||
|
Loading…
Reference in New Issue
Block a user