Skip to content

Commit

Permalink
[chore] #139 빈칸 지움
Browse files Browse the repository at this point in the history
  • Loading branch information
hyunjium committed Apr 3, 2024
1 parent b32142d commit 10fe16b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,7 @@ data class ResponseExerciseDto(
mutableListOf()
} else if (data.todayMission == null && data.missionHistory!!.size == 1 && data.missionHistory[0].date.removeDayOfTheWeek() == LocalDate.now().prettyString) {
mutableListOf()
}
else if (data.todayMission == null) {
} else if (data.todayMission == null) {
mutableListOf(
ExerciseItemInfo.NoticeItemInfo(
null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,10 @@ class ExerciseFragment : BindingFragment<FragmentExerciseBinding>(R.layout.fragm
}

private fun initAdapter(exerciseData: ExerciseData) {
val adapter = ExerciseAdapter(userType = exerciseData.userType, opponentUserType= exerciseData.opponentUserType)
val adapter = ExerciseAdapter(
userType = exerciseData.userType,
opponentUserType = exerciseData.opponentUserType
)
adapter.updateItemList(exerciseList = exerciseData.exerciseItemInfoList)
binding.rvExerciseEachDateExercise.adapter = adapter
}
Expand Down

0 comments on commit 10fe16b

Please sign in to comment.