Move content @Composable to the end of the parameter list.
A @Composable `content` parameter should be moved to be the trailing lambda in a composable function.
This commit is contained in:
parent
7eb7e21d27
commit
e97e21e785
5 changed files with 25 additions and 22 deletions
|
|
@ -64,7 +64,6 @@ fun LogoutView(
|
|||
subTitle = subtitle(state),
|
||||
iconVector = CompoundIcons.KeySolid(),
|
||||
modifier = modifier,
|
||||
content = { Content(state) },
|
||||
buttons = {
|
||||
Buttons(
|
||||
state = state,
|
||||
|
|
@ -74,7 +73,9 @@ fun LogoutView(
|
|||
}
|
||||
)
|
||||
},
|
||||
)
|
||||
) {
|
||||
Content(state)
|
||||
}
|
||||
|
||||
LogoutActionDialog(
|
||||
state.logoutAction,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue