1
Fork 0
mirror of https://github.com/Steffo99/twom.git synced 2024-11-21 23:54:26 +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
@Composable
@Preview(showBackground = true)
fun LoginActivityControl(
fun LoginActivityContent(
modifier: Modifier = Modifier,
onLogin: (session: Session) -> Unit = {},
) {

View file

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