mirror of
https://github.com/bitwarden/mobile
synced 2025-12-19 17:53:47 +00:00
use string.Empty
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
{
|
{
|
||||||
public class PasswordGeneratorPolicyOptions
|
public class PasswordGeneratorPolicyOptions
|
||||||
{
|
{
|
||||||
public string DefaultType { get; set; } = "";
|
public string DefaultType { get; set; } = string.Empty;
|
||||||
public int MinLength { get; set; }
|
public int MinLength { get; set; }
|
||||||
public bool UseUppercase { get; set; }
|
public bool UseUppercase { get; set; }
|
||||||
public bool UseLowercase { get; set; }
|
public bool UseLowercase { get; set; }
|
||||||
@@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
public bool InEffect()
|
public bool InEffect()
|
||||||
{
|
{
|
||||||
return DefaultType != "" ||
|
return DefaultType != string.Empty ||
|
||||||
MinLength > 0 ||
|
MinLength > 0 ||
|
||||||
NumberCount > 0 ||
|
NumberCount > 0 ||
|
||||||
SpecialCount > 0 ||
|
SpecialCount > 0 ||
|
||||||
|
|||||||
Reference in New Issue
Block a user