Peter Mandeljc
01/19/2023, 2:36 PMjava.lang.IllegalArgumentException: navigation destination files is not a direct child of this NavGraphNavHost(
    navController = controller,
    startDestination = "files"
) {
    composable(
        route = "files?import_file={import_file}",
        arguments = listOf(navArgument("import_file") { defaultValue = false })
    ) { backStack ->
        FilesScreen(
            openImportDrawer = backStack.arguments?.getBoolean("import_file") ?: false,
        )
    }
}Ian Lake
01/19/2023, 4:45 PMstartDestinationroutestartDestination = "files?import_file={import_file}"Peter Mandeljc
01/19/2023, 5:05 PMIan Lake
01/19/2023, 5:10 PMstartDestinationstartDestination = "files?import_file=true"defaultValue