diff --git a/app/src/main/java/de/danoeh/antennapod/fragment/actions/EpisodeMultiSelectActionHandler.java b/app/src/main/java/de/danoeh/antennapod/fragment/actions/EpisodeMultiSelectActionHandler.java index 028d2fff4..710ec6ce0 100644 --- a/app/src/main/java/de/danoeh/antennapod/fragment/actions/EpisodeMultiSelectActionHandler.java +++ b/app/src/main/java/de/danoeh/antennapod/fragment/actions/EpisodeMultiSelectActionHandler.java @@ -95,16 +95,13 @@ public class EpisodeMultiSelectActionHandler { private void deleteChecked() { int countHasMedia = 0; - int countNoMedia = 0; for (FeedItem feedItem : selectedItems) { if (feedItem.hasMedia() && feedItem.getMedia().isDownloaded()) { countHasMedia++; DBWriter.deleteFeedMediaOfItem(activity, feedItem.getMedia().getId()); - } else { - countNoMedia++; } } - showMessageMore(R.plurals.deleted_multi_episode_batch_label, countNoMedia, countHasMedia); + showMessage(R.plurals.deleted_multi_episode_batch_label, countHasMedia); } private void showMessage(@PluralsRes int msgId, int numItems) { @@ -112,14 +109,6 @@ public class EpisodeMultiSelectActionHandler { .getQuantityString(msgId, numItems, numItems), Snackbar.LENGTH_LONG); } - private void showMessageMore(@PluralsRes int msgId, int countNoMedia, int countHasMedia) { - activity.showSnackbarAbovePlayer(activity.getResources() - .getQuantityString(msgId, - (countHasMedia + countNoMedia), - (countHasMedia + countNoMedia), countHasMedia), - Snackbar.LENGTH_LONG); - } - private long[] getSelectedIds() { long[] checkedIds = new long[selectedItems.size()]; for (int i = 0; i < selectedItems.size(); ++i) { diff --git a/core/src/main/res/values/strings.xml b/core/src/main/res/values/strings.xml index 86b3443f3..22607f58b 100644 --- a/core/src/main/res/values/strings.xml +++ b/core/src/main/res/values/strings.xml @@ -202,8 +202,8 @@ Unable to delete file. Rebooting the device could help. Delete Episode - %d episode selected, %d download deleted. - %d episodes selected, %d download(s) deleted. + 1 downloaded episode deleted. + %d downloaded episodes deleted. Remove \"new\" flag Removed \"new\" flag