Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feat] #137 - 홈 습관티켓 프로필 갯수 반영 #147

Merged
merged 3 commits into from
Jan 20, 2022

Conversation

hyun99999
Copy link
Member

🌴 PR 요약

🌱 작업한 브랜치

🌱 작업한 내용

  • 스플래시 배경변경
  • 습관방 셀 구분선 색 변경
  • 자동로그인 말고 로그인시 네비바가 사라지는 버그 해결

📌 참고 사항

📮 관련 이슈

@hyun99999 hyun99999 added Feat 새로운 기능 구현 👼타락pOwEr천사현규 크로아서버 환영요 labels Jan 20, 2022
@hyun99999 hyun99999 self-assigned this Jan 20, 2022
Copy link
Member

@L-j-h-c L-j-h-c left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

감사합니다...!! 수고하셨습니다!!!

Comment on lines +109 to 135
if memberNum > 3 {
for index in 0..<3 {
profileImageList[index]?.updateImage(profileImg[index] ?? "")
profileImageList[index]?.isHidden = false
}

fourthProfileImage.isHidden = false
restLabel.isHidden = false
restLabel.text = "+\(profileImg.count - 3)"
restLabel.text = "+\(memberNum - 3)"
} else {
if profileImg.count == 0 {
profileImageList.forEach { $0?.isHidden = true }
} else if profileImg.count == 3 {
if memberNum == 3 {
for index in 0..<3 {
profileImageList[index]?.updateImage(profileImg[index] ?? "")
profileImageList[index]?.isHidden = false
}
} else {
for index in 0..<profileImg.count {
for index in 0..<memberNum {
profileImageList[index]?.updateImage(profileImg[index] ?? "")
profileImageList[index]?.isHidden = false

fourthProfileImage.isHidden = true
restLabel.isHidden = true
}
for index in profileImg.count...2 {
for index in memberNum...2 {
profileImageList[index]?.isHidden = true
}
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

지독한 분기처리... 고생하셨습니다!

func signup(socailID: String, profileImg: UIImage, nickname: String, fcmToken: String, completion: @escaping (NetworkResult<Any>) -> Void) {
userProvider.request(.signup(socialID: socailID, profileImg: profileImg, nickname: nickname, fcmToken: fcmToken)) { result in
func signup(socialID: String, profileImg: UIImage, nickname: String, fcmToken: String, completion: @escaping (NetworkResult<Any>) -> Void) {
userProvider.request(.signup(socialID: socialID, profileImg: profileImg, nickname: nickname, fcmToken: fcmToken)) { result in
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

헐...

@hyun99999 hyun99999 merged commit e412900 into TeamSparker:develop Jan 20, 2022
@hyun99999 hyun99999 deleted the feature/#137 branch January 20, 2022 13:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feat 새로운 기능 구현 👼타락pOwEr천사현규 크로아서버 환영요
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Fix] 홈 습관티켓 프로필 갯수 반영
2 participants