From b7d87486a81e1deda5e1f17e8edb15ea55f58c04 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Mon, 29 Apr 2019 10:00:59 -0400 Subject: [PATCH] dont need to check target type of bool? --- src/App/Utilities/InverseBoolConverter.cs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/App/Utilities/InverseBoolConverter.cs b/src/App/Utilities/InverseBoolConverter.cs index d5affc66e..439bbb7f7 100644 --- a/src/App/Utilities/InverseBoolConverter.cs +++ b/src/App/Utilities/InverseBoolConverter.cs @@ -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(); }