mirror of
https://github.com/nextcloud/android.git
synced 2024-11-27 09:23:51 +03:00
Throttle click on share icon
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
This commit is contained in:
parent
73a18fbf6e
commit
d33d5a20fd
1 changed files with 3 additions and 1 deletions
|
@ -556,7 +556,9 @@ public class OCFileListFragment extends ExtendedListFragment implements
|
|||
if (file.isFolder()) {
|
||||
mContainerActivity.showDetails(file, 1);
|
||||
} else {
|
||||
mContainerActivity.getFileOperationsHelper().sendShareFile(file);
|
||||
throttler.run("shareIconClick", () -> {
|
||||
mContainerActivity.getFileOperationsHelper().sendShareFile(file);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue