Skip to content

Commit

Permalink
Merge pull request #151 from pknu-wap/refactor/tgyuu/#150
Browse files Browse the repository at this point in the history
Refactor/tgyuu/#150
  • Loading branch information
tgyuuAn authored Mar 5, 2024
2 parents e986390 + ae9a920 commit 90a052b
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,20 +27,20 @@ data class Survey(
return "방금"
} else if (duration.toMinutes() < 60) {
val leftMinutes = duration.toMinutes().toString()
return leftMinutes + "분 전 작성"
return leftMinutes + "분 전"
}

if (duration.toHours() < 24) {
val leftHours = duration.toHours().toString()
return leftHours + "시간 전 작성"
return leftHours + "시간 전"
}

if (duration.toDays() < 31) {
val leftDays = duration.toDays().toString()
return leftDays + "일 전 작성"
return leftDays + "일 전"
}

return surveyedAt.format(yyyyMMddFormatter) + " 작성"
return surveyedAt.format(yyyyMMddFormatter)
}

companion object {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ internal fun EventEditScreen(
.verticalScroll(scrollState)
.height(IntrinsicSize.Max)
.padding(paddingValues)
.padding(vertical = 16.dp),
.padding(top = 16.dp),
) {
WappSubTopBar(
titleRes = R.string.event_edit,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ internal fun EventRegistrationContent(
modifier = modifier
.fillMaxSize()
.addFocusCleaner(focusManager)
.padding(top = 40.dp),
.padding(top = 40.dp, bottom = 16.dp),
) {
AnimatedContent(
targetState = eventRegistrationState,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ internal fun NoticeScreen(
Column(
modifier = Modifier
.fillMaxSize()
.background(WappTheme.colors.black25),
.background(WappTheme.colors.black20),
) {
BottomSheetScaffold(
scaffoldState = scaffoldState,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ internal fun SurveyCheckScreen(

is SurveyCheckViewModel.SurveyListUiState.Success -> {
LazyColumn(
verticalArrangement = Arrangement.spacedBy(20.dp),
verticalArrangement = Arrangement.spacedBy(16.dp),
modifier = Modifier
.fillMaxSize()
.padding(start = 16.dp, end = 16.dp, bottom = 16.dp, top = 20.dp)
Expand Down

0 comments on commit 90a052b

Please sign in to comment.