Skip to content

Commit

Permalink
[Feat] UI 수정 (TeamRecorDream#64)
Browse files Browse the repository at this point in the history
  • Loading branch information
88yhtserof committed Jul 22, 2022
1 parent b5b4ace commit 79f475e
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class RecordDetailViewController: BaseViewController {
self.headerView.snp.makeConstraints { make in
make.leading.trailing.equalToSuperview()
make.top.equalToSuperview().offset(50)
make.height.equalTo(70.adjustedHeight)
make.height.equalTo(67.adjustedHeight)
}
self.headerView.setHeaderView(HiddenMoreBtn: false, headerLabelText: "기록 상세보기")
self.headerView.isHiddenUnderLine = true
Expand Down Expand Up @@ -132,7 +132,6 @@ extension RecordDetailViewController {
guard let recordID = recordID else { return }
RecordDetailService.shared.getRecordDetial(recordID: recordID, completionHandler: { [weak self] recordDetail in
guard let self = self else { return }
print("111")
guard let recordDetail = recordDetail as? RecordDetailModel else { return }
self.emotion = recordDetail.emotion
self.dreamColor = recordDetail.dream_color
Expand All @@ -141,10 +140,7 @@ extension RecordDetailViewController {
guard let note = recordDetail.note else {return}
let contents = [content, note]
self.tabPagerView.contents = contents

DispatchQueue.main.async {

print("333\(recordDetail.title)")
self.titleLabel.text = recordDetail.title
self.dateLabel.text = recordDetail.date
self.cardView.image = UIImage(named: Constant.DetailBackgroundColor.IntType(self.dreamColor).title)
Expand Down

0 comments on commit 79f475e

Please sign in to comment.