Quick fix for NPE when exiting the feed fragment

This commit is contained in:
Mauricio Colli 2019-10-08 23:59:11 -03:00
parent 3e9471686b
commit 6a12fb813a

View file

@ -111,7 +111,12 @@ class FeedFragment : BaseListFragment<FeedState, Unit>() {
override fun onDestroyOptionsMenu() {
super.onDestroyOptionsMenu()
activity.supportActionBar?.subtitle = null
activity?.supportActionBar?.subtitle = null
}
override fun onDestroy() {
super.onDestroy()
activity?.supportActionBar?.subtitle = null
}
///////////////////////////////////////////////////////////////////////////