mirror of
https://github.com/bitwarden/android.git
synced 2024-12-24 18:08:26 +03:00
fix null ref when no uri
This commit is contained in:
parent
262c19b194
commit
fcb072c37d
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ namespace Bit.App.Models.Api
|
||||||
|
|
||||||
public LoginType(Cipher cipher)
|
public LoginType(Cipher cipher)
|
||||||
{
|
{
|
||||||
Uris = cipher.Login.Uris.Select(u => new LoginUriType(u));
|
Uris = cipher.Login.Uris?.Select(u => new LoginUriType(u));
|
||||||
Username = cipher.Login.Username?.EncryptedString;
|
Username = cipher.Login.Username?.EncryptedString;
|
||||||
Password = cipher.Login.Password?.EncryptedString;
|
Password = cipher.Login.Password?.EncryptedString;
|
||||||
Totp = cipher.Login.Totp?.EncryptedString;
|
Totp = cipher.Login.Totp?.EncryptedString;
|
||||||
|
|
Loading…
Reference in a new issue