mirror of
https://github.com/bitwarden/mobile
synced 2026-01-09 03:53:15 +00:00
null and length check on name when sorting
This commit is contained in:
@@ -23,7 +23,7 @@ namespace Bit.App.Models.Page
|
||||
|
||||
if(string.IsNullOrWhiteSpace(Name) || Name.Length == 0)
|
||||
{
|
||||
NameGroup = AppResources.Other;
|
||||
NameGroup = "-";
|
||||
}
|
||||
else if(Char.IsLetter(Name[0]))
|
||||
{
|
||||
@@ -35,7 +35,7 @@ namespace Bit.App.Models.Page
|
||||
}
|
||||
else
|
||||
{
|
||||
NameGroup = AppResources.Other;
|
||||
NameGroup = "-";
|
||||
}
|
||||
|
||||
switch(cipher.Type)
|
||||
|
||||
Reference in New Issue
Block a user