From 09505105264603ed0f3dfb731a5c6bcc3af24295 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Thu, 11 Jan 2018 12:07:13 -0500 Subject: [PATCH] scope if shorthand --- src/App/Pages/Vault/VaultListCiphersPage.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App/Pages/Vault/VaultListCiphersPage.cs b/src/App/Pages/Vault/VaultListCiphersPage.cs index b66c2efe4..326e4b651 100644 --- a/src/App/Pages/Vault/VaultListCiphersPage.cs +++ b/src/App/Pages/Vault/VaultListCiphersPage.cs @@ -343,7 +343,7 @@ namespace Bit.App.Pages { // Sort numbers and letters before special characters return !string.IsNullOrWhiteSpace(s.Name) && s.Name.Length > 0 && - Char.IsDigit(s.Name[0]) ? 0 : Char.IsLetter(s.Name[0]) ? 1 : 2; + Char.IsDigit(s.Name[0]) ? 0 : (Char.IsLetter(s.Name[0]) ? 1 : 2); }) .ThenBy(s => s.Name) .ThenBy(s => s.Subtitle)