mirror of
https://github.com/bitwarden/mobile.git
synced 2024-11-04 08:50:18 +01:00
scope if shorthand
This commit is contained in:
parent
9eba3064a7
commit
0950510526
@ -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 New Issue
Block a user