mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-05-22 05:38:55 +00:00
Fix #1402
This commit is contained in:
parent
c78c5df7fb
commit
01ce6ed39b
1 changed files with 2 additions and 2 deletions
|
|
@ -250,8 +250,6 @@ open class MainActivity : BaseActivity(), TutorialView.OnTutorialReaction {
|
|||
navigationController.addOnDestinationChangedListener { _, destination, arguments ->
|
||||
updateToolbarTitle(destination, arguments)
|
||||
}
|
||||
MainNavigationController.setup(navigationController)
|
||||
|
||||
setupNotifications()
|
||||
setupBottomnavigationLayoutListener()
|
||||
|
||||
|
|
@ -368,6 +366,8 @@ open class MainActivity : BaseActivity(), TutorialView.OnTutorialReaction {
|
|||
|
||||
val navigationController = findNavController(R.id.nav_host_fragment)
|
||||
navigationController.currentDestination?.let { updateToolbarTitle(it, null) }
|
||||
|
||||
MainNavigationController.setup(navigationController)
|
||||
}
|
||||
|
||||
override fun onPause() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue