mirror of
https://github.com/bitwarden/android.git
synced 2025-03-15 10:48:47 +03:00
Make SyncResponseJson.Send.text nullable (#621)
This commit is contained in:
parent
0975ab9c7b
commit
df3a6598b3
2 changed files with 2 additions and 2 deletions
|
@ -835,7 +835,7 @@ data class SyncResponseJson(
|
|||
val id: String,
|
||||
|
||||
@SerialName("text")
|
||||
val text: Text,
|
||||
val text: Text?,
|
||||
|
||||
@SerialName("key")
|
||||
val key: String?,
|
||||
|
|
|
@ -81,7 +81,7 @@ fun SyncResponseJson.Send.toEncryptedSdkSend(): Send =
|
|||
password = password,
|
||||
type = type.toSdkSendType(),
|
||||
file = file?.toEncryptedSdkFile(),
|
||||
text = text.toEncryptedSdkText(),
|
||||
text = text?.toEncryptedSdkText(),
|
||||
maxAccessCount = maxAccessCount?.toUInt(),
|
||||
accessCount = accessCount.toUInt(),
|
||||
disabled = isDisabled,
|
||||
|
|
Loading…
Add table
Reference in a new issue