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

[HotFix] DiaryHomeViewController 돌아올 시 crash 해결 #30

Merged
merged 5 commits into from
Mar 2, 2025

Conversation

mint3382
Copy link
Member

@mint3382 mint3382 commented Mar 2, 2025

🔥 트러블 슈팅

Diary 생성 시 crash error

DiaryHomeViewController에서 ViewWillAppear 할 때마다 일기 list를 비우지도 않고 새로 list를 받아와 추가하면서 문제가 생겼다. DiaryList가 비어 있는 경우에만 추가하도록 수정하였고, 그 외에 작업들에서 list를 다시 부르고 싶으면 diaryList를 비우는 방식으로 변경하였다.
삭제하는 경우에는 이 방법이 부자연스러워서, 추후 해당 일기만 찾아서 list에서 제거하는 방법으로 변경할 예정이다.

@mint3382 mint3382 added the 🐞 BugFix 버그 수정 label Mar 2, 2025
@mint3382 mint3382 merged commit 1fa477c into develop Mar 2, 2025
@mint3382 mint3382 deleted the HotFix/DiaryCreate branch March 2, 2025 16:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 BugFix 버그 수정
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant