Skip to content

Commit

Permalink
GT-2200 Fix Lint Check errors
Browse files Browse the repository at this point in the history
  • Loading branch information
gyasistory committed Oct 16, 2024
1 parent 01be521 commit cdeafdb
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions app/src/main/kotlin/org/cru/godtools/ui/login/LoginLayout.kt
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,11 @@ private val FACEBOOK_BLUE = Color(red = 0x18, green = 0x77, blue = 0xf2)

@Composable
@OptIn(ExperimentalMaterial3Api::class)
fun LoginLayout(createAccount: Boolean = false, onEvent: (event: LoginLayoutEvent) -> Unit) {
fun LoginLayout(
modifier: Modifier = Modifier,
createAccount: Boolean = false,
onEvent: (event: LoginLayoutEvent) -> Unit = {},
) {
var loginError: LoginResponse.Error? by rememberSaveable { mutableStateOf(null) }
val loginLauncher = rememberLoginLauncher(createAccount) {
when (it) {
Expand All @@ -66,7 +70,7 @@ fun LoginLayout(createAccount: Boolean = false, onEvent: (event: LoginLayoutEven

Column(
horizontalAlignment = Alignment.CenterHorizontally,
modifier = Modifier
modifier = modifier
.fillMaxSize()
.background(GodToolsTheme.GT_BLUE)
.verticalScroll(rememberScrollState())
Expand Down

0 comments on commit cdeafdb

Please sign in to comment.