Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/android.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortobiasKaminsky <tobias@kaminsky.me>2022-10-31 17:22:50 +0300
committertobiasKaminsky <tobias@kaminsky.me>2022-10-31 17:22:50 +0300
commit32fab01c91aad61621fe39c719975d016478ff5a (patch)
tree351d9d920c00f098e11c4430d9491b035f7eaa12
parentef716f4f8f095250939a9215d1f7f448ae40b822 (diff)
use existing method via eventbus to encrypt folder
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
-rw-r--r--app/src/main/java/com/owncloud/android/ui/fragment/OCFileListFragment.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/com/owncloud/android/ui/fragment/OCFileListFragment.java b/app/src/main/java/com/owncloud/android/ui/fragment/OCFileListFragment.java
index b9c84e9cf0..f7dfe51c29 100644
--- a/app/src/main/java/com/owncloud/android/ui/fragment/OCFileListFragment.java
+++ b/app/src/main/java/com/owncloud/android/ui/fragment/OCFileListFragment.java
@@ -1088,7 +1088,7 @@ public class OCFileListFragment extends ExtendedListFragment implements
OCFile file = mAdapter.getItem(position);
if (file != null) {
- encryptFolder(file.getLocalId(), file.getRemoteId(), file.getRemotePath(), true);
+ mContainerActivity.getFileOperationsHelper().toggleEncryption(file, true);
}
// update state and view of this fragment