Hide 'mark as unread' when not in debug mode
This commit is contained in:
parent
3e4fd8e518
commit
d4b7acd5df
|
@ -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)) {
|
||||
|
|
Loading…
Reference in New Issue