diff --git a/app/src/main/java/eu/steffo/twom/avatar/components/AvatarUser.kt b/app/src/main/java/eu/steffo/twom/avatar/components/AvatarUser.kt index 32669f0..32a6dc9 100644 --- a/app/src/main/java/eu/steffo/twom/avatar/components/AvatarUser.kt +++ b/app/src/main/java/eu/steffo/twom/avatar/components/AvatarUser.kt @@ -13,7 +13,6 @@ import org.matrix.android.sdk.api.util.toMatrixItem fun AvatarUser( modifier: Modifier = Modifier, user: User? = null, - fallbackText: String? = null, contentDescription: String = "", alpha: Float = 1.0f, ) { diff --git a/app/src/main/java/eu/steffo/twom/login/components/LoginScaffold.kt b/app/src/main/java/eu/steffo/twom/login/components/LoginScaffold.kt index 16a372c..3eff42c 100644 --- a/app/src/main/java/eu/steffo/twom/login/components/LoginScaffold.kt +++ b/app/src/main/java/eu/steffo/twom/login/components/LoginScaffold.kt @@ -10,14 +10,11 @@ import androidx.compose.ui.Modifier import androidx.compose.ui.platform.LocalContext import androidx.compose.ui.tooling.preview.Preview import eu.steffo.twom.theme.components.TwoMTheme -import org.matrix.android.sdk.api.session.Session @Composable @Preview -fun LoginScaffold( - onLogin: (session: Session) -> Unit = {}, -) { +fun LoginScaffold() { val context = LocalContext.current val activity = context as Activity