diff --git a/app/src/main/java/eu/steffo/twom/login/LoginActivityTopBar.kt b/app/src/main/java/eu/steffo/twom/login/LoginActivityTopBar.kt index 4921f0f..38eb797 100644 --- a/app/src/main/java/eu/steffo/twom/login/LoginActivityTopBar.kt +++ b/app/src/main/java/eu/steffo/twom/login/LoginActivityTopBar.kt @@ -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(