mirror of
https://github.com/bitwarden/android.git
synced 2024-10-31 23:25:45 +03:00
use string.Empty
This commit is contained in:
parent
5d719ba235
commit
c6b37307b0
1 changed files with 6 additions and 6 deletions
|
@ -2,7 +2,7 @@
|
|||
{
|
||||
public class PasswordGeneratorPolicyOptions
|
||||
{
|
||||
public string DefaultType { get; set; } = "";
|
||||
public string DefaultType { get; set; } = string.Empty;
|
||||
public int MinLength { get; set; }
|
||||
public bool UseUppercase { get; set; }
|
||||
public bool UseLowercase { get; set; }
|
||||
|
@ -16,7 +16,7 @@
|
|||
|
||||
public bool InEffect()
|
||||
{
|
||||
return DefaultType != "" ||
|
||||
return DefaultType != string.Empty ||
|
||||
MinLength > 0 ||
|
||||
NumberCount > 0 ||
|
||||
SpecialCount > 0 ||
|
||||
|
|
Loading…
Reference in a new issue