summaryrefslogtreecommitdiff
path: root/src/de
diff options
context:
space:
mode:
authordaniel oeh <daniel.oeh@gmail.com>2013-03-10 19:30:39 +0100
committerdaniel oeh <daniel.oeh@gmail.com>2013-03-10 19:30:39 +0100
commitd4b7acd5df4e6a6ecc04923dd629978244d21b13 (patch)
tree01ce8e33eec9c34e3972d89e09a5955ce3d17a96 /src/de
parent3e4fd8e518446ebdb20c8833f942bf968d0dd10f (diff)
downloadAntennaPod-d4b7acd5df4e6a6ecc04923dd629978244d21b13.zip
Hide 'mark as unread' when not in debug mode
Diffstat (limited to 'src/de')
-rw-r--r--src/de/danoeh/antennapod/util/menuhandler/FeedItemMenuHandler.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/de/danoeh/antennapod/util/menuhandler/FeedItemMenuHandler.java b/src/de/danoeh/antennapod/util/menuhandler/FeedItemMenuHandler.java
index c4e6024d3..b1bc5a8e2 100644
--- a/src/de/danoeh/antennapod/util/menuhandler/FeedItemMenuHandler.java
+++ b/src/de/danoeh/antennapod/util/menuhandler/FeedItemMenuHandler.java
@@ -3,6 +3,7 @@ package de.danoeh.antennapod.util.menuhandler;
import android.content.Context;
import android.content.Intent;
import android.net.Uri;
+import de.danoeh.antennapod.AppConfig;
import de.danoeh.antennapod.R;
import de.danoeh.antennapod.asynctask.FlattrClickWorker;
import de.danoeh.antennapod.feed.FeedItem;
@@ -89,7 +90,8 @@ public class FeedItemMenuHandler {
mi.setItemVisibility(R.id.share_link_item, false);
}
- if (!(state == FeedItem.State.IN_PROGRESS || state == FeedItem.State.READ)) {
+ if (!AppConfig.DEBUG
+ || !(state == FeedItem.State.IN_PROGRESS || state == FeedItem.State.READ)) {
mi.setItemVisibility(R.id.mark_unread_item, false);
}
if (!(state == FeedItem.State.NEW || state == FeedItem.State.IN_PROGRESS)) {