1
Fork 0
mirror of https://github.com/Steffo99/twom.git synced 2024-11-21 23:54:26 +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.TopAppBar
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.platform.LocalContext
import androidx.compose.ui.tooling.preview.Preview
import eu.steffo.twom.R
@ -16,9 +17,11 @@ import eu.steffo.twom.R
@Composable
@Preview
fun LoginActivityTopBar(
modifier: Modifier = Modifier,
onBack: () -> Unit = {},
) {
TopAppBar(
modifier = modifier,
navigationIcon = {
IconButton(onClick = onBack) {
Icon(