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:
David A. Velasco 2014-12-15 09:57:27 +01:00
commit 407a31b3ca

View file

@ -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);