diff --git a/app/src/main/java/org/schabi/newpipe/local/feed/FeedFragment.kt b/app/src/main/java/org/schabi/newpipe/local/feed/FeedFragment.kt index 64e4f2699..d8e7dc7b1 100644 --- a/app/src/main/java/org/schabi/newpipe/local/feed/FeedFragment.kt +++ b/app/src/main/java/org/schabi/newpipe/local/feed/FeedFragment.kt @@ -111,7 +111,12 @@ class FeedFragment : BaseListFragment() { override fun onDestroyOptionsMenu() { super.onDestroyOptionsMenu() - activity.supportActionBar?.subtitle = null + activity?.supportActionBar?.subtitle = null + } + + override fun onDestroy() { + super.onDestroy() + activity?.supportActionBar?.subtitle = null } ///////////////////////////////////////////////////////////////////////////