mirror of
				https://github.com/TeamNewPipe/NewPipe
				synced 2025-10-30 14:52:59 +00:00 
			
		
		
		
	Quick fix for NPE when exiting the feed fragment
This commit is contained in:
		| @@ -111,7 +111,12 @@ class FeedFragment : BaseListFragment<FeedState, Unit>() { | |||||||
|  |  | ||||||
|     override fun onDestroyOptionsMenu() { |     override fun onDestroyOptionsMenu() { | ||||||
|         super.onDestroyOptionsMenu() |         super.onDestroyOptionsMenu() | ||||||
|         activity.supportActionBar?.subtitle = null |         activity?.supportActionBar?.subtitle = null | ||||||
|  |     } | ||||||
|  |  | ||||||
|  |     override fun onDestroy() { | ||||||
|  |         super.onDestroy() | ||||||
|  |         activity?.supportActionBar?.subtitle = null | ||||||
|     } |     } | ||||||
|  |  | ||||||
|     /////////////////////////////////////////////////////////////////////////// |     /////////////////////////////////////////////////////////////////////////// | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Mauricio Colli
					Mauricio Colli