summaryrefslogtreecommitdiff
path: root/app/src/main/java/de/danoeh/antennapod/menuhandler
diff options
context:
space:
mode:
authorByteHamster <ByteHamster@users.noreply.github.com>2022-05-03 22:10:39 +0200
committerGitHub <noreply@github.com>2022-05-03 22:10:39 +0200
commitdfcc342c57e263754bf145501cd237c7570debd2 (patch)
tree1861894339adfac5bceb40805d40de67933996ed /app/src/main/java/de/danoeh/antennapod/menuhandler
parent8eedb82f310dda9f7773b0af2fcf313244f65f1c (diff)
downloadAntennaPod-dfcc342c57e263754bf145501cd237c7570debd2.zip
Rename 'new' screen to inbox (#5460)
Diffstat (limited to 'app/src/main/java/de/danoeh/antennapod/menuhandler')
-rw-r--r--app/src/main/java/de/danoeh/antennapod/menuhandler/FeedItemMenuHandler.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/src/main/java/de/danoeh/antennapod/menuhandler/FeedItemMenuHandler.java b/app/src/main/java/de/danoeh/antennapod/menuhandler/FeedItemMenuHandler.java
index d9558d20f..5bbda2980 100644
--- a/app/src/main/java/de/danoeh/antennapod/menuhandler/FeedItemMenuHandler.java
+++ b/app/src/main/java/de/danoeh/antennapod/menuhandler/FeedItemMenuHandler.java
@@ -61,7 +61,7 @@ public class FeedItemMenuHandler {
setItemVisibility(menu, R.id.visit_website_item, !selectedItem.getFeed().isLocalFeed()
&& ShareUtils.hasLinkToShare(selectedItem));
setItemVisibility(menu, R.id.share_item, !selectedItem.getFeed().isLocalFeed());
- setItemVisibility(menu, R.id.remove_new_flag_item, selectedItem.isNew());
+ setItemVisibility(menu, R.id.remove_inbox_item, selectedItem.isNew());
setItemVisibility(menu, R.id.mark_read_item, !selectedItem.isPlayed());
setItemVisibility(menu, R.id.mark_unread_item, selectedItem.isPlayed());
setItemVisibility(menu, R.id.reset_position, hasMedia && selectedItem.getMedia().getPosition() != 0);
@@ -146,7 +146,7 @@ public class FeedItemMenuHandler {
IntentUtils.sendLocalBroadcast(context, PlaybackService.ACTION_SKIP_CURRENT_EPISODE);
} else if (menuItemId == R.id.remove_item) {
DBWriter.deleteFeedMediaOfItem(context, selectedItem.getMedia().getId());
- } else if (menuItemId == R.id.remove_new_flag_item) {
+ } else if (menuItemId == R.id.remove_inbox_item) {
removeNewFlagWithUndo(fragment, selectedItem);
} else if (menuItemId == R.id.mark_read_item) {
selectedItem.setPlayed(true);
@@ -233,7 +233,7 @@ public class FeedItemMenuHandler {
case FeedItem.UNPLAYED:
if (item.getPlayState() == FeedItem.NEW) {
//was new
- playStateStringRes = R.string.removed_new_flag_label;
+ playStateStringRes = R.string.removed_inbox_label;
} else {
//was played
playStateStringRes = R.string.marked_as_unplayed_label;