mirror of
https://github.com/bitwarden/android.git
synced 2025-03-28 00:29:24 +03:00
possible null pointer fix
This commit is contained in:
parent
f680b1e856
commit
bf99cea004
1 changed files with 5 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue