diff options
author | tobiasKaminsky <tobias@kaminsky.me> | 2022-10-31 17:22:50 +0300 |
---|---|---|
committer | tobiasKaminsky <tobias@kaminsky.me> | 2022-10-31 17:22:50 +0300 |
commit | 32fab01c91aad61621fe39c719975d016478ff5a (patch) | |
tree | 351d9d920c00f098e11c4430d9491b035f7eaa12 | |
parent | ef716f4f8f095250939a9215d1f7f448ae40b822 (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.java | 2 |
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 |