From e89f1733267124c26b6f998d5fb6c759fd999fbb Mon Sep 17 00:00:00 2001 From: ByteHamster Date: Mon, 16 Sep 2019 00:11:33 +0200 Subject: [PATCH] Setting title --- .../de/danoeh/antennapod/fragment/FeedInfoFragment.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/app/src/main/java/de/danoeh/antennapod/fragment/FeedInfoFragment.java b/app/src/main/java/de/danoeh/antennapod/fragment/FeedInfoFragment.java index c9f044aa6..c37d1e3eb 100644 --- a/app/src/main/java/de/danoeh/antennapod/fragment/FeedInfoFragment.java +++ b/app/src/main/java/de/danoeh/antennapod/fragment/FeedInfoFragment.java @@ -25,6 +25,7 @@ import com.bumptech.glide.Glide; import com.bumptech.glide.request.RequestOptions; import com.joanzapata.iconify.Iconify; +import de.danoeh.antennapod.activity.MainActivity; import org.apache.commons.lang3.StringUtils; import org.jsoup.Jsoup; import org.jsoup.nodes.Document; @@ -91,6 +92,12 @@ public class FeedInfoFragment extends Fragment { } }; + @Override + public void onResume() { + super.onResume(); + ((MainActivity)getActivity()).getSupportActionBar().setTitle(R.string.feed_info_label); + } + @Nullable @Override public View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {