1
Fork 0
mirror of https://github.com/Steffo99/twom.git synced 2024-11-21 23:54:26 +00:00

Remove unused parameters

This commit is contained in:
Steffo 2024-02-05 02:57:13 +01:00
parent 2c0147908a
commit 9d8178a254
Signed by: steffo
GPG key ID: 5ADA3868646C3FC0
2 changed files with 1 additions and 5 deletions

View file

@ -13,7 +13,6 @@ import org.matrix.android.sdk.api.util.toMatrixItem
fun AvatarUser( fun AvatarUser(
modifier: Modifier = Modifier, modifier: Modifier = Modifier,
user: User? = null, user: User? = null,
fallbackText: String? = null,
contentDescription: String = "", contentDescription: String = "",
alpha: Float = 1.0f, alpha: Float = 1.0f,
) { ) {

View file

@ -10,14 +10,11 @@ import androidx.compose.ui.Modifier
import androidx.compose.ui.platform.LocalContext import androidx.compose.ui.platform.LocalContext
import androidx.compose.ui.tooling.preview.Preview import androidx.compose.ui.tooling.preview.Preview
import eu.steffo.twom.theme.components.TwoMTheme import eu.steffo.twom.theme.components.TwoMTheme
import org.matrix.android.sdk.api.session.Session
@Composable @Composable
@Preview @Preview
fun LoginScaffold( fun LoginScaffold() {
onLogin: (session: Session) -> Unit = {},
) {
val context = LocalContext.current val context = LocalContext.current
val activity = context as Activity val activity = context as Activity