Browse Source

clear followviewer subtitle on exit

renovate/androidx.fragment-fragment-ktx-1.x
Austin Huang 3 years ago
parent
commit
859b51af21
No known key found for this signature in database GPG Key ID: 84C23AA04587A91F
  1. 5
      app/src/main/java/awais/instagrabber/fragments/FollowViewerFragment.kt

5
app/src/main/java/awais/instagrabber/fragments/FollowViewerFragment.kt

@ -98,6 +98,11 @@ class FollowViewerFragment : Fragment(), SwipeRefreshLayout.OnRefreshListener {
else viewModel.fetch(isFollowersList, null)
}
override fun onDestroy() {
fragmentActivity.supportActionBar?.subtitle = null
super.onDestroy()
}
private fun listFollows() {
viewModel.comparison.removeObservers(viewLifecycleOwner)
viewModel.status.removeObservers(viewLifecycleOwner)

Loading…
Cancel
Save