Skip to content

Commit

Permalink
[chore] #234 코스 리스트 프로퍼티 Hot, New 구분 스트링 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
t1nm1ksun committed Sep 17, 2024
1 parent fd1f3df commit 6d7dab9
Showing 1 changed file with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -122,10 +122,14 @@ fun HomeRoute(
mapOf(
USER_NAME to uiState.userPoint.name,
USER_POINT to uiState.userPoint.point,
COURSE_LIST_ID to uiState.topLikedCourses.map { it.courseId }.joinToString() + "," + uiState.latestCourses.map { it.courseId }.joinToString(),
COURSE_LIST_TITLE to uiState.topLikedCourses.joinToString { it.title } + "," + uiState.latestCourses.joinToString { it.title },
COURSE_LIST_LOCATION to uiState.topLikedCourses.joinToString { it.city } + "," + uiState.latestCourses.joinToString { it.city },
COURSE_LIST_COST to uiState.topLikedCourses.joinToString { it.cost } + "," + uiState.latestCourses.joinToString { it.cost }
COURSE_LIST_ID to
"Hot: " + uiState.topLikedCourses.map { it.courseId }.joinToString() + " / New: " + uiState.latestCourses.map { it.courseId }.joinToString(),
COURSE_LIST_TITLE to
"Hot: " + uiState.topLikedCourses.joinToString { it.title } + " / New: " + uiState.latestCourses.joinToString { it.title },
COURSE_LIST_LOCATION to
"Hot: " + uiState.topLikedCourses.joinToString { it.city } + " / New: " + uiState.latestCourses.joinToString { it.city },
COURSE_LIST_COST to
"Hot: " + uiState.topLikedCourses.joinToString { it.cost } + " / New: " + uiState.latestCourses.joinToString { it.cost }
)
)
}
Expand Down

0 comments on commit 6d7dab9

Please sign in to comment.