1
Fork 0
mirror of https://github.com/Steffo99/twom.git synced 2024-11-25 09:34:25 +00:00

Add missing Modifier parameter

This commit is contained in:
Steffo 2023-12-01 03:56:45 +01:00
parent 5e5cb6207f
commit dca76a40af
Signed by: steffo
GPG key ID: 2A24051445686895

View file

@ -8,6 +8,7 @@ import androidx.compose.material3.IconButton
import androidx.compose.material3.Text import androidx.compose.material3.Text
import androidx.compose.material3.TopAppBar import androidx.compose.material3.TopAppBar
import androidx.compose.runtime.Composable import androidx.compose.runtime.Composable
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.R import eu.steffo.twom.R
@ -16,9 +17,11 @@ import eu.steffo.twom.R
@Composable @Composable
@Preview @Preview
fun LoginActivityTopBar( fun LoginActivityTopBar(
modifier: Modifier = Modifier,
onBack: () -> Unit = {}, onBack: () -> Unit = {},
) { ) {
TopAppBar( TopAppBar(
modifier = modifier,
navigationIcon = { navigationIcon = {
IconButton(onClick = onBack) { IconButton(onClick = onBack) {
Icon( Icon(