Skip to content

Commit

Permalink
feat: modify layout of SignIn screen to comply with figma
Browse files Browse the repository at this point in the history
Added a `Row` with content two different `Text`s, once for non-clickable text ("Not registered yet? "), and one for clickable text ("Sign up here!").
  • Loading branch information
charliemangano committed Oct 28, 2024
1 parent 32c0eea commit 45352b4
Showing 1 changed file with 10 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -165,12 +165,16 @@ fun SignInScreen(authViewModel: AuthViewModel, navigationActions: NavigationActi
)
}
}
Text(
text = "Not registered yet? Sign up here!",
modifier =
Modifier.clickable { navigationActions.navigateTo(Screen.SIGN_UP) }
.testTag("signInNotRegistered"),
)
Row(modifier = Modifier) {
Text("Not registered yet? ")
Text(
text = "Sign up here!",
modifier =
Modifier.clickable { navigationActions.navigateTo(Screen.SIGN_UP) }
.testTag("signInNotRegistered"),
color = Color.Blue,
)
}
}
},
)
Expand Down

0 comments on commit 45352b4

Please sign in to comment.