mirror of
https://github.com/nextcloud/android.git
synced 2024-11-26 23:28:42 +03:00
use existing method via eventbus to encrypt folder
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
This commit is contained in:
parent
ef716f4f8f
commit
32fab01c91
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue