mirror of
https://github.com/bitwarden/mobile.git
synced 2024-09-30 04:17:55 +02: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
|
// Sort numbers and letters before special characters
|
||||||
return !string.IsNullOrWhiteSpace(s.Name) && s.Name.Length > 0 &&
|
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.Name)
|
||||||
.ThenBy(s => s.Subtitle)
|
.ThenBy(s => s.Subtitle)
|
||||||
|
Loading…
Reference in New Issue
Block a user