mirror of
https://github.com/KokaKiwi/BarInsta
synced 2025-12-13 15:36:29 +00:00
clear followviewer subtitle on exit
This commit is contained in:
parent
723b35ca33
commit
859b51af21
1 changed files with 5 additions and 0 deletions
|
|
@ -98,6 +98,11 @@ class FollowViewerFragment : Fragment(), SwipeRefreshLayout.OnRefreshListener {
|
||||||
else viewModel.fetch(isFollowersList, null)
|
else viewModel.fetch(isFollowersList, null)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
override fun onDestroy() {
|
||||||
|
fragmentActivity.supportActionBar?.subtitle = null
|
||||||
|
super.onDestroy()
|
||||||
|
}
|
||||||
|
|
||||||
private fun listFollows() {
|
private fun listFollows() {
|
||||||
viewModel.comparison.removeObservers(viewLifecycleOwner)
|
viewModel.comparison.removeObservers(viewLifecycleOwner)
|
||||||
viewModel.status.removeObservers(viewLifecycleOwner)
|
viewModel.status.removeObservers(viewLifecycleOwner)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue