summaryrefslogtreecommitdiff
path: root/app/src/main/java/de/danoeh/antennapod/dialog
diff options
context:
space:
mode:
authorTom Hennen <tom.hennen@gmail.com>2015-09-06 10:51:49 -0400
committerTom Hennen <tom.hennen@gmail.com>2015-09-06 10:51:49 -0400
commit05cb09e4fad0befb08396b58dbd5bc2699383e20 (patch)
tree6fbbb89be1dbce82425e83e50f2c3bdef751366a /app/src/main/java/de/danoeh/antennapod/dialog
parent1ac58a34ebeaa144958cc248b59ffa3771b128cc (diff)
downloadAntennaPod-05cb09e4fad0befb08396b58dbd5bc2699383e20.zip
Set episode back to 'New' when undo remove from new episodes.
markItemRead -> markItemPlayed and now requires the desired state instead of boolean. fixes AntennaPod/AntennaPod#1173
Diffstat (limited to 'app/src/main/java/de/danoeh/antennapod/dialog')
-rw-r--r--app/src/main/java/de/danoeh/antennapod/dialog/EpisodesApplyActionFragment.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/src/main/java/de/danoeh/antennapod/dialog/EpisodesApplyActionFragment.java b/app/src/main/java/de/danoeh/antennapod/dialog/EpisodesApplyActionFragment.java
index 0751ee602..dbc99b21a 100644
--- a/app/src/main/java/de/danoeh/antennapod/dialog/EpisodesApplyActionFragment.java
+++ b/app/src/main/java/de/danoeh/antennapod/dialog/EpisodesApplyActionFragment.java
@@ -372,12 +372,12 @@ public class EpisodesApplyActionFragment extends Fragment {
}
private void markedCheckedPlayed() {
- DBWriter.markItemRead(getActivity(), true, checkedIds.toArray());
+ DBWriter.markItemPlayed(getActivity(), FeedItem.PLAYED, checkedIds.toArray());
close();
}
private void markedCheckedUnplayed() {
- DBWriter.markItemRead(getActivity(), false, checkedIds.toArray());
+ DBWriter.markItemPlayed(getActivity(), FeedItem.UNPLAYED, checkedIds.toArray());
close();
}