Skip to content

Commit

Permalink
hotfix: 소외도 점수 -> 인싸 랭킹 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
ghddbwns9808 committed May 19, 2024
1 parent a2ab811 commit 74c5f0f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ data class MemberDetail(
val name: String = "",
val photo: String = "",
val isolationPoint: Double = 0.0,
// val isolationPoint: Int = -1,
val isolationRank: Int = -1,
val exp: Int = -1,
val challengeCount: Int = -1,
val relayCount: Int = -1,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import com.sixkids.model.MemberDetail
data class StudentDetailResponse(
val name: String = "",
val photo: String = "",
//todo 등수로 바꾸기
val isolationPoint: Double = 0.0,
val isolationRank: Int = -1,
val exp: Int = -1,
val challengeCount: Int = -1,
val relayCount: Int = -1,
Expand All @@ -18,6 +18,7 @@ internal fun StudentDetailResponse.toModel(): MemberDetail {
name = this.name,
photo = this.photo,
isolationPoint = this.isolationPoint,
isolationRank = this.isolationRank,
exp = this.exp,
challengeCount = this.challengeCount,
relayCount = this.relayCount,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ fun ManageStudentDetailScreen(
Spacer(modifier = Modifier.size(20.dp))

Text(
text = "소외도 ${uiState.memberDetail.isolationPoint}",
text = "인싸 랭킹 ${uiState.memberDetail.isolationRank}",
style = UlbanTypography.titleSmall,
modifier = Modifier.padding(start = 10.dp)
)
Expand Down

0 comments on commit 74c5f0f

Please sign in to comment.