From 161dd82f0ad84e6888cc207cb62cd512e4055088 Mon Sep 17 00:00:00 2001 From: Puvikaran Santhirasegaram <74664443+Puvikaran2001@users.noreply.github.com> Date: Wed, 22 May 2024 09:52:19 +0200 Subject: [PATCH] fix comment error --- .../dk/scheduling/schedulingfrontend/pages/LoginPage.kt | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/frontend/app/src/main/java/dk/scheduling/schedulingfrontend/pages/LoginPage.kt b/frontend/app/src/main/java/dk/scheduling/schedulingfrontend/pages/LoginPage.kt index 0e74917f..0762fa68 100644 --- a/frontend/app/src/main/java/dk/scheduling/schedulingfrontend/pages/LoginPage.kt +++ b/frontend/app/src/main/java/dk/scheduling/schedulingfrontend/pages/LoginPage.kt @@ -54,11 +54,12 @@ fun LoginPage( modifier = modifier .fillMaxSize() - .padding(50.dp), // Adjust column placement. + .padding(50.dp), horizontalAlignment = Alignment.CenterHorizontally, verticalArrangement = Arrangement.Center, ) { - StandardTextField( // Input field for username. + // Input field for username. + StandardTextField( label = "Username", value = username, onValueChange = { @@ -70,7 +71,8 @@ fun LoginPage( Spacer(modifier = Modifier.height(20.dp)) - PasswordTextField( // Input field for password. + // Input field for password. + PasswordTextField( password, onPasswordChange = { password = it // it holds the value of the text field.