-
Notifications
You must be signed in to change notification settings - Fork 1
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
[#83] 스크린샷 잘못 올렸을 때 alert들 추가하기 #86
Conversation
모두 해결되었습니다,, |
@State private var newScannedInfo: String = "" | ||
@Binding var scannedJourneyInfo: String |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
두 변수 다 사진에서 스캔해 온 정보를 담고 있는 변수로 보이는데, 하나의 변수로 관리하는 건 힘든가요 ~?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
scannedJourneyInfo 변수가 HomeView에서 정의되는데, 이 변수를 이 뷰에서 그대로 사용하면 문자열이 빌 때 알아서 HomeView 분기처리에 따라 업데이트 되더라고요... 그래서 ScannedJourneyInfoView 안에서만 사용할 변수를 따로 만들었습니다.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
�흠 그렇군요 ....
분기 처리 부분을 먼저 리팩하고나서 변수 다시 살펴보도록 합시댜 ~
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
수고하셨습니다 !
📝 작업 내용
스크린샷 (선택)
💬 리뷰 요구사항(선택)