mirror of
https://github.com/bitwarden/android.git
synced 2026-06-08 16:17:05 -05:00
BIT-1398: Update Bitwarden SDK and remove temporary SendViewKey (#572)
This commit is contained in:
committed by
Álison Fernandes
parent
0aa24d73d9
commit
6d51d514b8
@@ -18,9 +18,9 @@ fun AddSendState.ViewState.Content.toSendView(
|
||||
accessId = null,
|
||||
name = common.name,
|
||||
notes = common.noteInput,
|
||||
// TODO: Set this to null after we update the SDK with an encryption fix (BIT-1398)
|
||||
key = "91Xo3Wdf0N0Cc5AHJRC3SQ",
|
||||
password = common.passwordInput.takeUnless { it.isBlank() },
|
||||
key = null,
|
||||
newPassword = common.passwordInput.takeUnless { it.isBlank() },
|
||||
hasPassword = false,
|
||||
type = selectedType.toSendType(),
|
||||
file = toSendFileView(),
|
||||
text = toSendTextView(),
|
||||
|
||||
@@ -40,7 +40,7 @@ private fun List<SendView>.toSendContent(
|
||||
},
|
||||
iconList = listOfNotNull(
|
||||
SendStatusIcon.DISABLED.takeIf { sendView.disabled },
|
||||
sendView.password?.let { SendStatusIcon.PASSWORD },
|
||||
SendStatusIcon.PASSWORD.takeIf { sendView.hasPassword },
|
||||
SendStatusIcon.MAX_ACCESS_COUNT_REACHED.takeIf {
|
||||
sendView.maxAccessCount?.let { maxCount ->
|
||||
sendView.accessCount >= maxCount
|
||||
|
||||
Reference in New Issue
Block a user