mirror of
https://github.com/nextcloud/android.git
synced 2024-11-26 23:28:42 +03:00
Merge pull request #10961 from nextcloud/encryptNotOnMainThread
use existing method via eventbus to encrypt folder
This commit is contained in:
commit
ea1c43bd44
1 changed files with 1 additions and 1 deletions
|
@ -1081,7 +1081,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