mirror of
https://github.com/bitwarden/android.git
synced 2024-12-24 01:48:25 +03:00
dont need to check target type of bool?
This commit is contained in:
parent
a75295662c
commit
b7d87486a8
1 changed files with 0 additions and 4 deletions
|
@ -9,10 +9,6 @@ namespace Bit.App.Utilities
|
|||
System.Globalization.CultureInfo culture)
|
||||
{
|
||||
if(targetType == typeof(bool))
|
||||
{
|
||||
return !(bool)value;
|
||||
}
|
||||
if(targetType == typeof(bool?))
|
||||
{
|
||||
return !((bool?)value).GetValueOrDefault();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue