mirror of
https://github.com/nextcloud/android.git
synced 2024-11-27 08:45:17 +03:00
Merge pull request #2071 from nextcloud/e2eFlagOnlyOnFolders
E2e flag only on folders
This commit is contained in:
commit
f4670cf602
2 changed files with 5 additions and 1 deletions
|
@ -503,6 +503,8 @@ public class OCFile implements Parcelable, Comparable<OCFile> {
|
|||
mEtagInConflict = null;
|
||||
mShareWithSharee = false;
|
||||
mIsFavorite = false;
|
||||
mIsEncrypted = false;
|
||||
mEncryptedFileName = null;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -217,7 +217,9 @@ public class FileStorageUtils {
|
|||
file.setPermissions(remote.getPermissions());
|
||||
file.setRemoteId(remote.getRemoteId());
|
||||
file.setFavorite(remote.getIsFavorite());
|
||||
file.setEncrypted(remote.getIsEncrypted());
|
||||
if (file.isFolder()) {
|
||||
file.setEncrypted(remote.getIsEncrypted());
|
||||
}
|
||||
return file;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue