From 6e5c4dd9d21ff5c5b7272fc97944fc484dbfb642 Mon Sep 17 00:00:00 2001 From: ByteHamster Date: Fri, 27 Sep 2019 14:01:10 +0200 Subject: Clear title on resume --- .../java/de/danoeh/antennapod/fragment/FeedItemlistFragment.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'app') 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 -- cgit v1.2.3