mirror of
https://github.com/bitwarden/mobile
synced 2025-12-16 00:03:22 +00:00
fix null ref when no uri
This commit is contained in:
@@ -10,7 +10,7 @@ namespace Bit.App.Models.Api
|
||||
|
||||
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;
|
||||
Password = cipher.Login.Password?.EncryptedString;
|
||||
Totp = cipher.Login.Totp?.EncryptedString;
|
||||
|
||||
Reference in New Issue
Block a user