mirror of
https://github.com/nextcloud/android.git
synced 2024-11-24 14:15:44 +03:00
Merge pull request #805 from owncloud/download_folder_cancel_menu_option
Show 'cancel download' option in folder actions menu when folder is bein...
This commit is contained in:
commit
407a31b3ca
1 changed files with 1 additions and 1 deletions
|
@ -189,7 +189,7 @@ public class FileMenuFilter {
|
||||||
|
|
||||||
|
|
||||||
// CANCEL DOWNLOAD
|
// CANCEL DOWNLOAD
|
||||||
if (mFile == null || !downloading || mFile.isFolder()) {
|
if (mFile == null || !downloading) {
|
||||||
toHide.add(R.id.action_cancel_download);
|
toHide.add(R.id.action_cancel_download);
|
||||||
} else {
|
} else {
|
||||||
toShow.add(R.id.action_cancel_download);
|
toShow.add(R.id.action_cancel_download);
|
||||||
|
|
Loading…
Reference in a new issue