Skip to content

Commit 556a08c

Browse files
committed
[feature/#34] 첫 채팅 배경 설정 원복
1 parent 1d09d78 commit 556a08c

File tree

1 file changed

+11
-15
lines changed
  • feature/chatting/src/commonMain/kotlin/com/nexters/emotia/feature/chatting

1 file changed

+11
-15
lines changed

feature/chatting/src/commonMain/kotlin/com/nexters/emotia/feature/chatting/ChattingScreen.kt

Lines changed: 11 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -471,13 +471,21 @@ private fun CreateRoom(
471471
Column(
472472
modifier = modifier
473473
.fillMaxSize()
474+
.background(
475+
Brush.verticalGradient(
476+
colors = listOf(
477+
Color(0xFF171E2D),
478+
Color(0xFF1A1A1B)
479+
)
480+
)
481+
)
474482
.safeDrawingPadding()
475483
.imePadding()
476484
) {
477485
// 배경 이미지 영역
478486
Box(
479-
modifier = Modifier
480-
.fillMaxWidth()
487+
modifier = Modifier.fillMaxWidth().weight(1f)
488+
481489
) {
482490
Image(
483491
painter = painterResource(Res.drawable.img_letter_background),
@@ -531,19 +539,7 @@ private fun CreateRoom(
531539
}
532540

533541
Box(
534-
modifier = Modifier
535-
.fillMaxWidth()
536-
.weight(1f)
537-
.background(
538-
Brush.verticalGradient(
539-
colors = listOf(
540-
Color(0xFF171E2D),
541-
Color(0xFF1A1A1B)
542-
)
543-
)
544-
)
545-
.padding(horizontal = 16.dp, vertical = 24.dp),
546-
contentAlignment = Alignment.BottomCenter
542+
modifier = Modifier.padding(horizontal = 16.dp, vertical = 24.dp),
547543
) {
548544
EmotiaChatTextField(
549545
value = currentInputText,

0 commit comments

Comments
 (0)