From bbf85d96deb53311eae0a05165d99009bcab4ae3 Mon Sep 17 00:00:00 2001 From: jabarros Date: Fri, 12 Dec 2014 12:02:01 +0100 Subject: [PATCH] Show 'cancel download' option in folder actions menu when folder is being downloaded --- src/com/owncloud/android/files/FileMenuFilter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/owncloud/android/files/FileMenuFilter.java b/src/com/owncloud/android/files/FileMenuFilter.java index cf8c2f09fc..6d235f23e4 100644 --- a/src/com/owncloud/android/files/FileMenuFilter.java +++ b/src/com/owncloud/android/files/FileMenuFilter.java @@ -189,7 +189,7 @@ public class FileMenuFilter { // CANCEL DOWNLOAD - if (mFile == null || !downloading || mFile.isFolder()) { + if (mFile == null || !downloading) { toHide.add(R.id.action_cancel_download); } else { toShow.add(R.id.action_cancel_download);