Set nav start destination to home fragment
This commit is contained in:
parent
8aa36cdd6e
commit
72fb32fb52
1 changed files with 2 additions and 0 deletions
|
@ -24,6 +24,8 @@ class HomeFragment : Fragment() {
|
|||
override fun onCreate(savedInstanceState: Bundle?) {
|
||||
super.onCreate(savedInstanceState)
|
||||
setHasOptionsMenu(true)
|
||||
|
||||
findNavController().graph.startDestination = R.id.homeFragment
|
||||
}
|
||||
|
||||
override fun onCreateOptionsMenu(menu: Menu, inflater: MenuInflater) {
|
||||
|
|
Loading…
Reference in a new issue