summaryrefslogtreecommitdiff
path: root/core/src/main
diff options
context:
space:
mode:
authorByteHamster <info@bytehamster.com>2022-05-08 11:24:59 +0200
committerByteHamster <info@bytehamster.com>2022-05-08 21:28:59 +0200
commit934e2802f8a6f9552489726ef1a43f1476eda233 (patch)
treec7a4d52ee30d17f305b6624cf02e9563f32d906d /core/src/main
parent2e999aef6271664578f95a9cf2a365857525b4ac (diff)
downloadAntennaPod-934e2802f8a6f9552489726ef1a43f1476eda233.zip
Remove 'mark all as read' button
Now available through multi-select
Diffstat (limited to 'core/src/main')
-rw-r--r--core/src/main/java/de/danoeh/antennapod/core/storage/DBWriter.java30
1 files changed, 0 insertions, 30 deletions
diff --git a/core/src/main/java/de/danoeh/antennapod/core/storage/DBWriter.java b/core/src/main/java/de/danoeh/antennapod/core/storage/DBWriter.java
index df4094590..ff8c990db 100644
--- a/core/src/main/java/de/danoeh/antennapod/core/storage/DBWriter.java
+++ b/core/src/main/java/de/danoeh/antennapod/core/storage/DBWriter.java
@@ -732,36 +732,6 @@ public class DBWriter {
}
/**
- * Sets the 'read'-attribute of all FeedItems of a specific Feed to PLAYED.
- *
- * @param feedId ID of the Feed.
- */
- public static Future<?> markFeedRead(final long feedId) {
- return dbExec.submit(() -> {
- final PodDBAdapter adapter = PodDBAdapter.getInstance();
- adapter.open();
- adapter.setFeedItems(FeedItem.PLAYED, feedId);
- adapter.close();
-
- EventBus.getDefault().post(new UnreadItemsUpdateEvent());
- });
- }
-
- /**
- * Sets the 'read'-attribute of all FeedItems to PLAYED.
- */
- public static Future<?> markAllItemsRead() {
- return dbExec.submit(() -> {
- final PodDBAdapter adapter = PodDBAdapter.getInstance();
- adapter.open();
- adapter.setFeedItems(FeedItem.PLAYED);
- adapter.close();
-
- EventBus.getDefault().post(new UnreadItemsUpdateEvent());
- });
- }
-
- /**
* Sets the 'read'-attribute of all NEW FeedItems to UNPLAYED.
*/
public static Future<?> removeAllNewFlags() {