BIT-1230: Show URI once for login items (#716)

This commit is contained in:
Ramsey Smith
2024-01-22 21:16:03 -07:00
committed by Álison Fernandes
parent 150fd159c3
commit b65671bce7
5 changed files with 23 additions and 16 deletions

View File

@@ -226,7 +226,8 @@ private fun Login.toEncryptedNetworkLogin(): SyncResponseJson.Cipher.Login =
ZonedDateTime.ofInstant(it, ZoneOffset.UTC)
},
shouldAutofillOnPageLoad = autofillOnPageLoad,
uri = uris?.firstOrNull()?.uri,
// uri needs to be null to avoid duplicating the first url entry for a login item.
uri = null,
username = username,
)