mirror of
https://github.com/bitwarden/android.git
synced 2025-03-15 18:58:59 +03:00
BIT-1583 Save the items as null if they are blank (#1006)
This commit is contained in:
parent
e115c51e36
commit
5ca514b1e2
1 changed files with 2 additions and 2 deletions
|
@ -140,8 +140,8 @@ private fun VaultAddEditState.ViewState.Content.ItemType.toLoginView(
|
|||
): LoginView? =
|
||||
(this as? VaultAddEditState.ViewState.Content.ItemType.Login)?.let {
|
||||
LoginView(
|
||||
username = it.username,
|
||||
password = it.password,
|
||||
username = it.username.orNullIfBlank(),
|
||||
password = it.password.orNullIfBlank(),
|
||||
passwordRevisionDate = common.originalCipher?.login?.passwordRevisionDate,
|
||||
uris = it.uriList.toLoginUriView(),
|
||||
totp = it.totp,
|
||||
|
|
Loading…
Add table
Reference in a new issue