When upgrading koin-annotations from 2.1.0 to 2.3....
# koin
f
When upgrading koin-annotations from 2.1.0 to 2.3.0, how should Koin be initialized? Here is my previous multiplatform entry code, which now fails to compile with "Unresolved reference 'defaultModule'". Also, I would like to ask if there is a new way to initialize Koin for multiplatform in the new version, such as using annotations?
Copy code
@Composable
@Preview
fun App(
    modifier: Modifier = Modifier,
    darkTheme: Boolean = isSystemInDarkTheme(),
    navController: NavHostController = rememberNavController()
) {
    KoinApplication(
        application = {
            modules(AppModule.module)
            defaultModule()
        }
    ) {
        MainScreen(navController = navController)
    }
}