diff options
author | ByteHamster <info@bytehamster.com> | 2019-09-27 14:01:10 +0200 |
---|---|---|
committer | ByteHamster <info@bytehamster.com> | 2019-09-27 14:03:34 +0200 |
commit | 6e5c4dd9d21ff5c5b7272fc97944fc484dbfb642 (patch) | |
tree | 3a431b2ae74e971ecc821824e9ee3e9a70c9a04f /app | |
parent | 5b909894f4bdb2f0cbfca3b5becdb7fb6106f3e8 (diff) | |
download | AntennaPod-6e5c4dd9d21ff5c5b7272fc97944fc484dbfb642.zip |
Clear title on resume
Diffstat (limited to 'app')
-rw-r--r-- | app/src/main/java/de/danoeh/antennapod/fragment/FeedItemlistFragment.java | 9 |
1 files changed, 5 insertions, 4 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 36c98e8b9..81b7dda8a 100644 --- a/app/src/main/java/de/danoeh/antennapod/fragment/FeedItemlistFragment.java +++ b/app/src/main/java/de/danoeh/antennapod/fragment/FeedItemlistFragment.java @@ -139,10 +139,11 @@ public class FeedItemlistFragment extends ListFragment { } @Override - public void onResume() { - super.onResume(); - ((MainActivity)getActivity()).getSupportActionBar().setTitle(""); - updateProgressBarVisibility(); + public void onHiddenChanged(boolean hidden) { + super.onHiddenChanged(hidden); + if (!hidden) { + ((MainActivity)getActivity()).getSupportActionBar().setTitle(""); + } } @Override |