mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 21:32:34 +00:00
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:
+3
-2
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user