From 4939e27f1678cdd06f60bb5972175798e87cd4db Mon Sep 17 00:00:00 2001 From: ByteHamster Date: Sat, 25 Jan 2020 13:38:25 +0100 Subject: [PATCH] Fix feed list update event not updating list --- .../de/danoeh/antennapod/fragment/SubscriptionFragment.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/de/danoeh/antennapod/fragment/SubscriptionFragment.java b/app/src/main/java/de/danoeh/antennapod/fragment/SubscriptionFragment.java index af3649ed0..d0f6772ea 100644 --- a/app/src/main/java/de/danoeh/antennapod/fragment/SubscriptionFragment.java +++ b/app/src/main/java/de/danoeh/antennapod/fragment/SubscriptionFragment.java @@ -304,12 +304,12 @@ public class SubscriptionFragment extends Fragment { dialog.createNewDialog().show(); } - @Subscribe + @Subscribe(threadMode = ThreadMode.MAIN) public void onFeedListChanged(FeedListUpdateEvent event) { loadSubscriptions(); } - @Subscribe + @Subscribe(threadMode = ThreadMode.MAIN) public void onUnreadItemsChanged(UnreadItemsUpdateEvent event) { loadSubscriptions(); }