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

Fix network exception uat upload emoji #122

Merged
merged 3 commits into from
Dec 8, 2023

Conversation

thisisWooyeol
Copy link
Contributor

수정사항

Network 연결이 없을 시 이모지 upload에서 IOException이 먼저 불려 ConnectionException catch (error dialog 표시)가 수행되지 않는 이슈를 해결했습니다.

if (currentUserDetails.savedEmojiList?.contains(currentEmoji.id) == true)
return true
return false
return currentUserDetails.savedEmojiList?.contains(currentEmoji.id) == true
Copy link
Contributor

Choose a reason for hiding this comment

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

여기 == true는 빼도 되지 않을까요?

Copy link
Contributor Author

@thisisWooyeol thisisWooyeol Dec 7, 2023

Choose a reason for hiding this comment

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

@peng-u-0807 savedEmojiList 자체가 null일 수 있어서 == true 를 추가해주었습니다!

Copy link
Contributor

Choose a reason for hiding this comment

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

@thisisWooyeol 안 그래도 제가 바로 앞 pr(#121 )에서 savedEmojiList를 빈 리스트로 초기화해서 아마 back에서 받을 때 아예 null이지는 않을 겁니다!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@yangchanhk98 그럼 savedEmojiList, createdEmojiList, createdPostList 전부 non-null 로 바꾸겠습니다!

@thisisWooyeol thisisWooyeol merged commit b8c2bd6 into develop Dec 8, 2023
2 checks passed
@thisisWooyeol thisisWooyeol deleted the fix/network-exception-uat-upload-emoji branch December 8, 2023 04:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants