Skip to content

Commit

Permalink
[REFACTOR] #125 : 행사 일정 부분 singleline 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
tgyuuAn committed Feb 17, 2024
1 parent d3000d4 commit d83b5f7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ internal fun RegistrationTextField(
textAlign: TextAlign? = null,
align: Alignment = Alignment.TopStart,
placeholder: String,
singleline: Boolean = true,
) {
val keyboardController = LocalSoftwareKeyboardController.current

Expand All @@ -43,7 +44,7 @@ internal fun RegistrationTextField(
visualTransformation = VisualTransformation.None,
keyboardOptions = KeyboardOptions(imeAction = ImeAction.Done),
keyboardActions = KeyboardActions(onDone = { keyboardController?.hide() }),
singleLine = true,
singleLine = singleline,
modifier = modifier.background(
color = WappTheme.colors.black25,
shape = RoundedCornerShape(10.dp),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ private fun EventDetailsContent(
value = eventContent,
onValueChange = onContentChanged,
placeholder = stringResource(R.string.event_content_hint),
singleline = false,
modifier = Modifier
.fillMaxWidth()
.weight(1f),
Expand Down

0 comments on commit d83b5f7

Please sign in to comment.