SetupActionBarWithNavController Проблема



val toolbar = findViewById<MaterialToolbar>(R.id.main_toolbar)
        setSupportActionBar(toolbar)
  
  setupWithNavController(toolbar, findNavController(R.id.nav_host_fragment))