mirror of
https://github.com/bitwarden/mobile.git
synced 2024-11-30 12:54:24 +01:00
possible null pointer fix
This commit is contained in:
parent
f680b1e856
commit
bf99cea004
@ -172,7 +172,11 @@ namespace Bit.App.Models.Page
|
|||||||
{
|
{
|
||||||
AddRange(groupItems);
|
AddRange(groupItems);
|
||||||
|
|
||||||
if(doUpper)
|
if(string.IsNullOrWhiteSpace(Name))
|
||||||
|
{
|
||||||
|
Name = "-";
|
||||||
|
}
|
||||||
|
else if(doUpper)
|
||||||
{
|
{
|
||||||
Name = name.ToUpperInvariant();
|
Name = name.ToUpperInvariant();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user