From 5e5cb6207f84fc03c08befb3240b5f7788a4907a Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Fri, 1 Dec 2023 03:54:51 +0100 Subject: [PATCH] =?UTF-8?q?Control=20=E2=86=92=20Content?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../login/{LoginActivityControl.kt => LoginActivityContent.kt} | 2 +- app/src/main/java/eu/steffo/twom/login/LoginActivityScaffold.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename app/src/main/java/eu/steffo/twom/login/{LoginActivityControl.kt => LoginActivityContent.kt} (99%) diff --git a/app/src/main/java/eu/steffo/twom/login/LoginActivityControl.kt b/app/src/main/java/eu/steffo/twom/login/LoginActivityContent.kt similarity index 99% rename from app/src/main/java/eu/steffo/twom/login/LoginActivityControl.kt rename to app/src/main/java/eu/steffo/twom/login/LoginActivityContent.kt index a588db9..4e78d42 100644 --- a/app/src/main/java/eu/steffo/twom/login/LoginActivityControl.kt +++ b/app/src/main/java/eu/steffo/twom/login/LoginActivityContent.kt @@ -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 = {}, ) { diff --git a/app/src/main/java/eu/steffo/twom/login/LoginActivityScaffold.kt b/app/src/main/java/eu/steffo/twom/login/LoginActivityScaffold.kt index 140da35..98c99c4 100644 --- a/app/src/main/java/eu/steffo/twom/login/LoginActivityScaffold.kt +++ b/app/src/main/java/eu/steffo/twom/login/LoginActivityScaffold.kt @@ -23,7 +23,7 @@ fun LoginActivityScaffold( ) }, content = { - LoginActivityControl( + LoginActivityContent( modifier = Modifier.padding(it), onLogin = onLogin )