mirror of
https://github.com/Steffo99/twom.git
synced 2024-11-21 15:44:26 +00:00
Remove unused parameters
This commit is contained in:
parent
2c0147908a
commit
9d8178a254
2 changed files with 1 additions and 5 deletions
|
@ -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,
|
||||||
) {
|
) {
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue