Skip to content

Commit

Permalink
Merge pull request #185 from Yashraj254/sign_up_screen_bug_fixed
Browse files Browse the repository at this point in the history
sign up screen input field bug fixed
  • Loading branch information
hieuwu committed Oct 3, 2023
2 parents 62588bf + e50ec3d commit 084ab72
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ fun SignUpScreen(modifier: Modifier = Modifier,
contentDescription = null
)

val name = viewModel.name.collectAsState()
val email = viewModel.email.collectAsState()
val password = viewModel.password.collectAsState()

Expand All @@ -97,7 +98,7 @@ fun SignUpScreen(modifier: Modifier = Modifier,
IconTextInput(
leadingIcon = Icons.Filled.Person,
trailingIcon = Icons.Filled.Backspace,
value = email.value,
value = name.value,
placeholder = "Name",
onValueChange = {
viewModel.onNameChange(it)
Expand Down

0 comments on commit 084ab72

Please sign in to comment.