Skip to content

Commit

Permalink
[fix/#841] onButtonClick -> onClick
Browse files Browse the repository at this point in the history
  • Loading branch information
leeeyubin committed Sep 24, 2024
1 parent 2b96203 commit c6239ad
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ fun MyPageDialog(
style = SoptTheme.typography.body14M,
paddingVertical = 9.dp,
text = negativeText,
onButtonClick = onDismissRequest,
onClick = onDismissRequest,
containerColor = Gray600,
contentColor = Gray10
)
Expand All @@ -114,7 +114,7 @@ fun MyPageDialog(
style = SoptTheme.typography.body14M,
paddingVertical = 9.dp,
text = positiveText,
onButtonClick = onPositiveButtonClick,
onClick = onPositiveButtonClick,
)
}
Spacer(modifier = Modifier.height(12.dp))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ class SignOutActivity : AppCompatActivity() {
style = SoptTheme.typography.heading18B,
paddingShape = 10.dp,
modifier = Modifier.padding(20.dp),
onButtonClick = { viewModel.signOut() },
onClick = { viewModel.signOut() },
text = R.string.sign_out_button
)
Spacer(modifier = Modifier.height(14.dp))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ class AdjustSentenceActivity : AppCompatActivity() {
style = SoptTheme.typography.heading18B,
paddingShape = 10.dp,
modifier = Modifier.padding(20.dp),
onButtonClick = { viewModel.adjustSentence() },
onClick = { viewModel.adjustSentence() },
text = R.string.adjust_sentence_button,
isEnabled = isConfirmed
)
Expand Down

0 comments on commit c6239ad

Please sign in to comment.