Removed unnecessary ternary expression
MODIFY
WalletWasabi.Gui/Converters/InverseBooleanConverter.cs
WalletWasabi.Gui/Converters/InverseBooleanConverter.cs
@@ -10,7 +10,7 @@ namespace WalletWasabi.Gui.Converters
{
if (value is bool boolean)
{
- return boolean ? false : true;
+ return !boolean;
}
else
{

MODIFY
WalletWasabi/Services/CcjClient.cs
WalletWasabi/Services/CcjClient.cs
@@ -848,7 +848,7 @@ namespace WalletWasabi.Services
}
}
- public bool HasIngredients => Salt is null || Soup is null ? false : true;
+ public bool HasIngredients => Salt != null && Soup != null;
private string SaltSoup()
{

Removed unnecessary ternary expression