1
Fork 0
mirror of https://github.com/Steffo99/twom.git synced 2024-11-22 16:14:25 +00:00

Control → Content

This commit is contained in:
Steffo 2023-12-01 03:54:51 +01:00
parent 293de92ccb
commit 5e5cb6207f
Signed by: steffo
GPG key ID: 2A24051445686895
2 changed files with 2 additions and 2 deletions

View file

@ -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 = {},
) { ) {

View file

@ -23,7 +23,7 @@ fun LoginActivityScaffold(
) )
}, },
content = { content = {
LoginActivityControl( LoginActivityContent(
modifier = Modifier.padding(it), modifier = Modifier.padding(it),
onLogin = onLogin onLogin = onLogin
) )