mirror of
https://github.com/nextcloud/android.git
synced 2024-11-23 21:55:48 +03:00
OC-2834: Access to unshare link from FileDetailFragment
This commit is contained in:
parent
56c28cd0aa
commit
ffdd188f06
1 changed files with 5 additions and 0 deletions
|
@ -345,6 +345,11 @@ public class FileDetailFragment extends FileFragment implements
|
|||
activity.getFileOperationsHelper().shareFileWithLink(getFile(), activity);
|
||||
return true;
|
||||
}
|
||||
case R.id.action_unshare_file: {
|
||||
FileDisplayActivity activity = (FileDisplayActivity) getSherlockActivity();
|
||||
activity.getFileOperationsHelper().unshareFileWithLink(getFile(), activity);
|
||||
return true;
|
||||
}
|
||||
case R.id.action_open_file_with: {
|
||||
FileDisplayActivity activity = (FileDisplayActivity) getSherlockActivity();
|
||||
activity.getFileOperationsHelper().openFile(getFile(), activity);
|
||||
|
|
Loading…
Reference in a new issue