mirror of
https://github.com/bitwarden/android.git
synced 2026-05-21 11:56:35 -05:00
Make SyncResponseJson.Send.text nullable (#621)
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user