Clear title on resume

This commit is contained in:
ByteHamster 2019-09-27 14:01:10 +02:00
parent 5b909894f4
commit 6e5c4dd9d2
1 changed files with 5 additions and 4 deletions

View File

@ -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