Skip to content

Commit 9508a5d

Browse files
Merge pull request #1915 from nextcloud/fix/noid/shareNoteField
Add read/write note field logic to parcel processing
2 parents 6c9f49c + 4596e80 commit 9508a5d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

  • library/src/main/java/com/owncloud/android/lib/resources/shares

library/src/main/java/com/owncloud/android/lib/resources/shares/OCShare.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ class OCShare :
150150
remoteId = source.readLong()
151151
shareLink = source.readString()
152152
isPasswordProtected = source.readInt() == 1
153+
note = source.readString()
153154
isHideFileDownload = source.readInt() == 1
154155
label = source.readString()
155156
isHasPreview = source.readInt() == 1
@@ -181,6 +182,7 @@ class OCShare :
181182
dest.writeLong(remoteId)
182183
dest.writeString(shareLink)
183184
dest.writeInt(if (isPasswordProtected) 1 else 0)
185+
dest.writeString(note)
184186
dest.writeInt(if (isHideFileDownload) 1 else 0)
185187
dest.writeString(label)
186188
dest.writeInt(if (isHasPreview) 1 else 0)

0 commit comments

Comments
 (0)