Use function ref.
This commit is contained in:
parent
9562600be4
commit
5bec246034
2 changed files with 4 additions and 12 deletions
|
|
@ -98,9 +98,7 @@ fun ConfirmAccountProviderView(
|
|||
.testTag(TestTags.loginContinue)
|
||||
)
|
||||
TextButton(
|
||||
onClick = {
|
||||
onChange()
|
||||
},
|
||||
onClick = onChange,
|
||||
enabled = true,
|
||||
modifier = Modifier
|
||||
.fillMaxWidth()
|
||||
|
|
|
|||
|
|
@ -120,9 +120,7 @@ private fun OnBoardingButtons(
|
|||
ButtonColumnMolecule(modifier = modifier) {
|
||||
if (state.canLoginWithQrCode) {
|
||||
Button(
|
||||
onClick = {
|
||||
onSignInWithQrCode()
|
||||
},
|
||||
onClick = onSignInWithQrCode,
|
||||
enabled = true,
|
||||
modifier = Modifier
|
||||
.fillMaxWidth()
|
||||
|
|
@ -136,9 +134,7 @@ private fun OnBoardingButtons(
|
|||
}
|
||||
}
|
||||
Button(
|
||||
onClick = {
|
||||
onSignIn()
|
||||
},
|
||||
onClick = onSignIn,
|
||||
enabled = true,
|
||||
modifier = Modifier
|
||||
.fillMaxWidth()
|
||||
|
|
@ -148,9 +144,7 @@ private fun OnBoardingButtons(
|
|||
}
|
||||
if (state.canCreateAccount) {
|
||||
OutlinedButton(
|
||||
onClick = {
|
||||
onCreateAccount()
|
||||
},
|
||||
onClick = onCreateAccount,
|
||||
enabled = true,
|
||||
modifier = Modifier
|
||||
.fillMaxWidth()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue