mirror of
https://github.com/bitwarden/android.git
synced 2024-12-24 18:08:26 +03:00
scope if shorthand
This commit is contained in:
parent
9eba3064a7
commit
0950510526
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue