From c05c8810aa1064d72e4b5639e148a18c8c19ee14 Mon Sep 17 00:00:00 2001 From: Puvikaran Santhirasegaram <74664443+Puvikaran2001@users.noreply.github.com> Date: Fri, 10 May 2024 10:37:22 +0200 Subject: [PATCH] Remove home address field --- .../schedulingfrontend/pages/SignUpPage.kt | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/frontend/app/src/main/java/dk/scheduling/schedulingfrontend/pages/SignUpPage.kt b/frontend/app/src/main/java/dk/scheduling/schedulingfrontend/pages/SignUpPage.kt index 42f5b3a1..808d94ba 100644 --- a/frontend/app/src/main/java/dk/scheduling/schedulingfrontend/pages/SignUpPage.kt +++ b/frontend/app/src/main/java/dk/scheduling/schedulingfrontend/pages/SignUpPage.kt @@ -42,9 +42,6 @@ fun SignUpPage( var password by remember { mutableStateOf("") } - var homeAddress by remember { - mutableStateOf("") - } var isSignUpFailed by remember { mutableStateOf(false) } @@ -82,18 +79,6 @@ fun SignUpPage( isError = isSignUpFailed, ) - Spacer(modifier = Modifier.height(20.dp)) - - StandardTextField( - label = "Home Address", - value = homeAddress, - onValueChange = { - homeAddress = it - if (isSignUpFailed) isSignUpFailed = false - }, - isError = isSignUpFailed, - ) - if (isSignUpFailed) { Spacer(modifier = Modifier.height(20.dp)) Text(