Skip to content

Commit 245f4f9

Browse files
authored
Merge pull request #57 from Nexters/feature/add-proposal-gathering-name
초대장 생성 시 모임 미선택일 경우 기본 설정된 텍스트로 보여줍니다.
2 parents a10a690 + 218da40 commit 245f4f9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

feature/proposal-create/src/main/java/com/plottwist/feature/proposal_create/CreateProposalScreen.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,8 @@ private fun CreateProposalScreen(
221221
modifier = Modifier.align(Alignment.BottomCenter).padding(
222222
bottom = (140f * screenHeight / 812f).dp
223223
),
224-
text = selectedGatheringName + "\n친구들에게",
224+
text = if(selectedGatheringName.isBlank()) "연락이 뜸해진\n친구들에게"
225+
else "$selectedGatheringName\n친구들에게",
225226
style = TukSerifTypography.body16M,
226227
textAlign = TextAlign.Center
227228
)

0 commit comments

Comments
 (0)