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

[Refactor] #199 - 성취 UI 로직 변경 #203

Merged
merged 8 commits into from
Jan 7, 2024
Merged

Conversation

jeongdung-eo
Copy link
Member

@jeongdung-eo jeongdung-eo commented Nov 19, 2023

🫧 작업한 내용

  • 성취뷰 UI로직 변경했습니다.

🔫 PR Point

기존의 VC에서 변경했던 cell 속성을 수정했습니다.

📸 스크린샷

Simulator.Screen.Recording.-.iPhone.SE.3rd.generation.-.2023-11-19.at.18.13.31.mp4

📮 관련 이슈

Comment on lines 174 to 177
switch percentage {
case 0.0: cell.configure(.none, .week)
case 1.0: cell.configure(.rateFull, .week)
default: cell.configure(.rateHalf, .week)
Copy link
Member

Choose a reason for hiding this comment

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

percent별로 분기처리는 cell 내부가 아니라 외부에서 하는 이유가 있나여?! cell내부에 있어도 괜찮을 것 같아서요~!

Copy link
Member Author

Choose a reason for hiding this comment

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

넹! 수정했습니당! #198 부분에 getPercentage()선언해둬서 홈 뷰는 주석처리해두었습니다 :)
b829423

@jeongdung-eo jeongdung-eo merged commit 32e0cf7 into develop Jan 7, 2024
1 check passed
@jeongdung-eo jeongdung-eo deleted the feat/#199 branch January 7, 2024 16:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Refactor] 성취 UI 로직 변경
2 participants