@@ -80,7 +80,7 @@ import com.authentication.shrine.ui.viewmodel.RegistrationViewModel
80
80
fun RegisterScreen (
81
81
navigateToHome : (isSignInThroughPasskeys: Boolean ) -> Unit ,
82
82
onLearnMoreClicked : () -> Unit ,
83
- onOtherWaysToSignInClicked : () -> Unit ,
83
+ onOtherWaysToSignUpClicked : () -> Unit ,
84
84
onBackClicked : () -> Unit ,
85
85
viewModel : RegistrationViewModel ,
86
86
modifier : Modifier = Modifier ,
@@ -124,7 +124,7 @@ fun RegisterScreen(
124
124
fullName = fullName,
125
125
onFullNameChanged = { fullName = it },
126
126
onLearnMoreClicked = onLearnMoreClicked,
127
- onOtherWaysToSignInClicked = onOtherWaysToSignInClicked ,
127
+ onOtherWaysToSignUpClicked = onOtherWaysToSignUpClicked ,
128
128
onBackClicked = onBackClicked,
129
129
email = email,
130
130
onEmailChanged = { email = it },
@@ -151,7 +151,7 @@ fun RegisterScreen(
151
151
fullName : String ,
152
152
onFullNameChanged : (String ) -> Unit ,
153
153
onLearnMoreClicked : () -> Unit ,
154
- onOtherWaysToSignInClicked : () -> Unit ,
154
+ onOtherWaysToSignUpClicked : () -> Unit ,
155
155
onBackClicked : () -> Unit ,
156
156
email : String ,
157
157
onEmailChanged : (String ) -> Unit ,
@@ -187,7 +187,7 @@ fun RegisterScreen(
187
187
fullName = fullName,
188
188
onFullNameChanged = onFullNameChanged,
189
189
onLearnMoreClicked = onLearnMoreClicked,
190
- onOtherWaysToSignInClicked = onOtherWaysToSignInClicked ,
190
+ onOtherWaysToSignUpClicked = onOtherWaysToSignUpClicked ,
191
191
email = email,
192
192
onEmailChanged = onEmailChanged,
193
193
onPasskeyRegister = onPasskeyRegister,
@@ -224,7 +224,7 @@ private fun RegisterScreenInputSection(
224
224
fullName : String ,
225
225
onFullNameChanged : (String ) -> Unit ,
226
226
onLearnMoreClicked : () -> Unit ,
227
- onOtherWaysToSignInClicked : () -> Unit ,
227
+ onOtherWaysToSignUpClicked : () -> Unit ,
228
228
email : String ,
229
229
onEmailChanged : (String ) -> Unit ,
230
230
onPasskeyRegister : (String ) -> Unit ,
@@ -282,7 +282,7 @@ private fun RegisterScreenInputSection(
282
282
modifier = Modifier .padding(top = dimensionResource(R .dimen.dimen_standard)),
283
283
)
284
284
285
- PasskeyInformationTab (onLearnMoreClicked, onOtherWaysToSignInClicked )
285
+ PasskeyInformationTab (onLearnMoreClicked, onOtherWaysToSignUpClicked )
286
286
287
287
ShrineButton (
288
288
onClick = { onPasskeyRegister(email) },
@@ -297,13 +297,13 @@ private fun RegisterScreenInputSection(
297
297
* Composable for the Passkeys Information Tab UI Element
298
298
*
299
299
* @param onLearnMoreClicked lambda for more information, navigates to an informational screen
300
- * @param onOtherWaysToSignInClicked lambda for other sign in methods, navigates to
300
+ * @param onOtherWaysToSignUpClicked lambda for other sign in methods, navigates to
301
301
* @OtherOptionsSignInScreen
302
302
* */
303
303
@Composable
304
304
private fun PasskeyInformationTab (
305
305
onLearnMoreClicked : () -> Unit ,
306
- onOtherWaysToSignInClicked : () -> Unit ,
306
+ onOtherWaysToSignUpClicked : () -> Unit ,
307
307
) {
308
308
Column (
309
309
modifier = Modifier
@@ -328,8 +328,8 @@ private fun PasskeyInformationTab(
328
328
)
329
329
ShrineClickableText (
330
330
text = " " ,
331
- clickableText = stringResource(R .string.other_ways_to_sign_in ),
332
- onTextClick = onOtherWaysToSignInClicked ,
331
+ clickableText = stringResource(R .string.other_ways_to_sign_up ),
332
+ onTextClick = onOtherWaysToSignUpClicked ,
333
333
textStyle = TextStyle (color = Color (0xFF006B5F )),
334
334
)
335
335
}
@@ -353,7 +353,7 @@ fun RegisterScreenPreview() {
353
353
RegisterScreen (
354
354
onPasskeyRegister = { _ -> },
355
355
onLearnMoreClicked = { },
356
- onOtherWaysToSignInClicked = { },
356
+ onOtherWaysToSignUpClicked = { },
357
357
onBackClicked = { },
358
358
uiState = RegisterUiState (),
359
359
fullName = " " ,
0 commit comments