Поэтому я использую диалоговое окно для навигации.
Код: Выделить всё
dialog(
Screens.Auth.route,
dialogProperties = DialogProperties(usePlatformDefaultWidth = false)
) {
AuthAssembly(
authService = dependencies.authService,
onCancel = {
navController.popBackStack()
}
)
}
Код: Выделить всё
Surface(
color = Color(0xFF1C1F3C).copy(alpha = 0.8f),
modifier = Modifier.fillMaxSize()
) {
// content...
}

Подробнее здесь: https://stackoverflow.com/questions/790 ... ck-compose