diff options
author | ByteHamster <info@bytehamster.com> | 2020-05-11 12:23:01 +0200 |
---|---|---|
committer | ByteHamster <info@bytehamster.com> | 2020-05-11 12:23:06 +0200 |
commit | 1981fb16cfb52fb36d2c57f828eedb66e1fa170d (patch) | |
tree | 47e898ec16e3551b1337a03267859d95655e0a91 /app/src/main | |
parent | 8145d7e9310699ffa89f8d7e09b95ce143812e74 (diff) | |
download | AntennaPod-1981fb16cfb52fb36d2c57f828eedb66e1fa170d.zip |
Fixed Feed not refreshing when changing filter
Diffstat (limited to 'app/src/main')
-rw-r--r-- | app/src/main/java/de/danoeh/antennapod/fragment/FeedItemlistFragment.java | 2 | ||||
-rw-r--r-- | app/src/main/res/layout/feeditemlist_header.xml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/src/main/java/de/danoeh/antennapod/fragment/FeedItemlistFragment.java b/app/src/main/java/de/danoeh/antennapod/fragment/FeedItemlistFragment.java index 1f96c12f2..b90da7447 100644 --- a/app/src/main/java/de/danoeh/antennapod/fragment/FeedItemlistFragment.java +++ b/app/src/main/java/de/danoeh/antennapod/fragment/FeedItemlistFragment.java @@ -323,7 +323,7 @@ public class FeedItemlistFragment extends Fragment implements AdapterView.OnItem activity.loadChildFragment(ItemPagerFragment.newInstance(ids, position)); } - @Subscribe + @Subscribe(threadMode = ThreadMode.MAIN) public void onEvent(FeedEvent event) { Log.d(TAG, "onEvent() called with: " + "event = [" + event + "]"); if (event.feedId == feedID) { diff --git a/app/src/main/res/layout/feeditemlist_header.xml b/app/src/main/res/layout/feeditemlist_header.xml index e7421e758..e74aeac0a 100644 --- a/app/src/main/res/layout/feeditemlist_header.xml +++ b/app/src/main/res/layout/feeditemlist_header.xml @@ -97,7 +97,7 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:padding="2dp" - android:background="?attr/colorPrimary" + android:background="?android:attr/windowBackground" android:visibility="gone" android:gravity="center" tools:visibility="visible" |