mirror of
https://github.com/nextcloud/android.git
synced 2024-11-26 23:28:42 +03:00
Fix showing share send dialog multiple times by rapidly clicking share icon.
This commit is contained in:
parent
5196be48f0
commit
bcb2d6b282
1 changed files with 3 additions and 1 deletions
|
@ -800,7 +800,9 @@ public class FileOperationsHelper {
|
|||
OCCapability capability = fileActivity.getStorageManager().getCapability(fileActivity.getAccount().name);
|
||||
SendShareDialog mSendShareDialog = SendShareDialog.newInstance(file, hideNcSharingOptions, capability);
|
||||
mSendShareDialog.setFileOperationsHelper(this);
|
||||
mSendShareDialog.show(ft, "TAG_SEND_SHARE_DIALOG");
|
||||
if (fm.findFragmentByTag("TAG_SEND_SHARE_DIALOG") == null) {
|
||||
mSendShareDialog.show(ft, "TAG_SEND_SHARE_DIALOG");
|
||||
}
|
||||
}
|
||||
|
||||
public void sendFiles(Set<OCFile> files) {
|
||||
|
|
Loading…
Reference in a new issue