diff options
author | ByteHamster <ByteHamster@users.noreply.github.com> | 2023-10-22 16:51:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-22 16:51:16 +0200 |
commit | fa75317bce95bdae152fa1171894d4c025e3921c (patch) | |
tree | e502dfa32f5335aaa433e558f000752b202b010d /app/src/main | |
parent | 69be89881a7ceb7938209a532859050ff96bb257 (diff) | |
download | AntennaPod-fa75317bce95bdae152fa1171894d4c025e3921c.zip |
Do not try to sync local feeds (#6722)
Diffstat (limited to 'app/src/main')
-rw-r--r-- | app/src/main/java/de/danoeh/antennapod/menuhandler/FeedItemMenuHandler.java | 4 |
1 files changed, 2 insertions, 2 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 4de53ce1e..de4cec8fe 100644 --- a/app/src/main/java/de/danoeh/antennapod/menuhandler/FeedItemMenuHandler.java +++ b/app/src/main/java/de/danoeh/antennapod/menuhandler/FeedItemMenuHandler.java @@ -154,7 +154,7 @@ public class FeedItemMenuHandler { } else if (menuItemId == R.id.mark_read_item) { selectedItem.setPlayed(true); DBWriter.markItemPlayed(selectedItem, FeedItem.PLAYED, true); - if (SynchronizationSettings.isProviderConnected()) { + if (!selectedItem.getFeed().isLocalFeed() && SynchronizationSettings.isProviderConnected()) { FeedMedia media = selectedItem.getMedia(); // not all items have media, Gpodder only cares about those that do if (media != null) { @@ -170,7 +170,7 @@ public class FeedItemMenuHandler { } else if (menuItemId == R.id.mark_unread_item) { selectedItem.setPlayed(false); DBWriter.markItemPlayed(selectedItem, FeedItem.UNPLAYED, false); - if (selectedItem.getMedia() != null) { + if (!selectedItem.getFeed().isLocalFeed() && selectedItem.getMedia() != null) { EpisodeAction actionNew = new EpisodeAction.Builder(selectedItem, EpisodeAction.NEW) .currentTimestamp() .build(); |