Skip to content

Commit

Permalink
Update app/src/main/java/com/owncloud/android/operations/UploadFileOp…
Browse files Browse the repository at this point in the history
…eration.java

Co-authored-by: Tom <[email protected]>
Signed-off-by: Alper Öztürk <[email protected]>
  • Loading branch information
alperozturk96 and ZetaTom committed Mar 15, 2024
1 parent d231fee commit 4dac5d5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ private RemoteOperationResult encryptedUpload(OwnCloudClient client, OCFile pare
// mContext);

Object object = EncryptionUtils.downloadFolderMetadata(parentFile, client, mContext, user);
if (object instanceof DecryptedFolderMetadataFileV1 && ((DecryptedFolderMetadataFileV1) object).getMetadata() != null) {
if (object instanceof DecryptedFolderMetadataFileV1 decrypted && decrypted.getMetadata() != null) {
metadataExists = true;
}

Expand Down

0 comments on commit 4dac5d5

Please sign in to comment.