summaryrefslogtreecommitdiff
path: root/app/src/main/java/de/danoeh/antennapod/menuhandler
diff options
context:
space:
mode:
authordaniel oeh <daniel.oeh@gmail.com>2014-11-10 21:01:41 +0100
committerdaniel oeh <daniel.oeh@gmail.com>2014-11-10 21:01:41 +0100
commitad04a80ae7b2091c94b0d007c2a78d97e7af871d (patch)
tree0d43b619ddcc6ea6d1222595d7a56db5a8c6e823 /app/src/main/java/de/danoeh/antennapod/menuhandler
parent6035e8fee91d895dd3a0fcedbedab2bc9de5b6a1 (diff)
downloadAntennaPod-ad04a80ae7b2091c94b0d007c2a78d97e7af871d.zip
Squashed commit of the following:
commit 7d0e6d5c2dc75f8f1e54f4a1279c6b0cffa7b8cc Author: daniel oeh <daniel.oeh@gmail.com> Date: Mon Nov 10 21:00:58 2014 +0100 Made tests compile commit 05c57df87dd469d8f64835700eefe2e3c87e04e4 Author: daniel oeh <daniel.oeh@gmail.com> Date: Mon Nov 10 20:56:58 2014 +0100 Removed unused code commit 0a1fbc9e6d9648646140e30dec0ec8389fb8d37f Author: daniel oeh <daniel.oeh@gmail.com> Date: Thu Nov 6 15:48:24 2014 +0100 Added UI controls to download more feed pages closes #245 commit 6486fb40f1d03887e264df95946f91f0a9cdac9b Author: daniel oeh <daniel.oeh@gmail.com> Date: Thu Nov 6 14:49:43 2014 +0100 Added support for downloading feed pages commit e1faa06908bfd50f2aa0c28ee5118772c4281557 Author: daniel oeh <daniel.oeh@gmail.com> Date: Wed Nov 5 21:27:03 2014 +0100 Added "paged" and "loadAllPages" attributes
Diffstat (limited to 'app/src/main/java/de/danoeh/antennapod/menuhandler')
-rw-r--r--app/src/main/java/de/danoeh/antennapod/menuhandler/FeedMenuHandler.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/src/main/java/de/danoeh/antennapod/menuhandler/FeedMenuHandler.java b/app/src/main/java/de/danoeh/antennapod/menuhandler/FeedMenuHandler.java
index e382a5888..b62fd22b2 100644
--- a/app/src/main/java/de/danoeh/antennapod/menuhandler/FeedMenuHandler.java
+++ b/app/src/main/java/de/danoeh/antennapod/menuhandler/FeedMenuHandler.java
@@ -41,6 +41,8 @@ public class FeedMenuHandler {
else
menu.findItem(R.id.support_item).setVisible(false);
+ menu.findItem(R.id.refresh_complete_item).setVisible(selectedFeed.isPaged());
+
return true;
}
@@ -55,6 +57,9 @@ public class FeedMenuHandler {
case R.id.refresh_item:
DBTasks.refreshFeed(context, selectedFeed);
break;
+ case R.id.refresh_complete_item:
+ DBTasks.refreshCompleteFeed(context, selectedFeed);
+ break;
case R.id.mark_all_read_item:
DBWriter.markFeedRead(context, selectedFeed.getId());
break;