Use the modifier parameter.

This commit is contained in:
Benoit Marty 2023-01-24 09:45:11 +01:00
parent c1789b133e
commit 8647016e61
10 changed files with 30 additions and 10 deletions

View file

@ -59,6 +59,9 @@ class PreferencesFlowNode(
@Composable
override fun View(modifier: Modifier) {
Children(navModel = backstack)
Children(
navModel = backstack,
modifier = modifier,
)
}
}

View file

@ -52,6 +52,7 @@ class PreferencesRootNode @AssistedInject constructor(
val state by presenterConnector.stateFlow.collectAsState()
PreferencesRootView(
state = state,
modifier = modifier,
onBackPressed = this::navigateUp,
onOpenRageShake = this::onOpenBugReport
)