diff --git a/src/App/Pages/Vault/ViewPage.xaml b/src/App/Pages/Vault/ViewPage.xaml index d581cd2f8..a5512fd7d 100644 --- a/src/App/Pages/Vault/ViewPage.xaml +++ b/src/App/Pages/Vault/ViewPage.xaml @@ -571,6 +571,8 @@ IsVisible="{Binding IsLinkedType}" /> PasswordFormatter.FormatPassword(_field.Value); public Command ToggleHiddenValueCommand { get; set; } diff --git a/src/Core/Models/View/FieldView.cs b/src/Core/Models/View/FieldView.cs index 2c3e0ba82..e9d74c13a 100644 --- a/src/Core/Models/View/FieldView.cs +++ b/src/Core/Models/View/FieldView.cs @@ -19,5 +19,6 @@ namespace Bit.Core.Models.View public string MaskedValue => Value != null ? "••••••••" : null; public bool NewField { get; set; } public LinkedIdType? LinkedId { get; set; } + public bool BoolValue => bool.TryParse(Value, out var b) && b; } }