mirror of
https://github.com/Steffo99/twom.git
synced 2024-11-22 16:14:25 +00:00
Control → Content
This commit is contained in:
parent
293de92ccb
commit
5e5cb6207f
2 changed files with 2 additions and 2 deletions
|
@ -34,7 +34,7 @@ import org.matrix.android.sdk.api.session.Session
|
||||||
// TODO: Localize error messages
|
// TODO: Localize error messages
|
||||||
@Composable
|
@Composable
|
||||||
@Preview(showBackground = true)
|
@Preview(showBackground = true)
|
||||||
fun LoginActivityControl(
|
fun LoginActivityContent(
|
||||||
modifier: Modifier = Modifier,
|
modifier: Modifier = Modifier,
|
||||||
onLogin: (session: Session) -> Unit = {},
|
onLogin: (session: Session) -> Unit = {},
|
||||||
) {
|
) {
|
|
@ -23,7 +23,7 @@ fun LoginActivityScaffold(
|
||||||
)
|
)
|
||||||
},
|
},
|
||||||
content = {
|
content = {
|
||||||
LoginActivityControl(
|
LoginActivityContent(
|
||||||
modifier = Modifier.padding(it),
|
modifier = Modifier.padding(it),
|
||||||
onLogin = onLogin
|
onLogin = onLogin
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue