Skip to content

Commit

Permalink
[Chore/#6] value parameter type change : TextValue -> String
Browse files Browse the repository at this point in the history
  • Loading branch information
SYAAINN committed Sep 20, 2024
1 parent 98e009d commit 28fc376
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ import com.sopt.now.compose.ui.theme.CustomTheme

@Composable
fun AuthTextField(
value: TextFieldValue,
onValueChange: (TextFieldValue) -> Unit,
value: String,
onValueChange: (String) -> Unit,
modifier: Modifier = Modifier,
isFocused: Boolean,
onFocusChanged: (Boolean) -> Unit,
Expand Down Expand Up @@ -74,7 +74,7 @@ fun AuthTextField(
Box(
modifier = Modifier.weight(1f)
) {
if (value.text.isEmpty()) {
if (value.isEmpty()) {
Text(
text = hint,
style = CustomTheme.typography.body1Medium,
Expand Down

0 comments on commit 28fc376

Please sign in to comment.