Use the modifier parameter.
This commit is contained in:
parent
c1789b133e
commit
8647016e61
10 changed files with 30 additions and 10 deletions
|
|
@ -59,6 +59,9 @@ class PreferencesFlowNode(
|
|||
|
||||
@Composable
|
||||
override fun View(modifier: Modifier) {
|
||||
Children(navModel = backstack)
|
||||
Children(
|
||||
navModel = backstack,
|
||||
modifier = modifier,
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue