-
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
Feature/#247 store detail edit #264
Conversation
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.
어우 깔끔하게 잘 하셧네용
이번 스프린트도 고생 많으셨습니다!!!
Box(modifier = Modifier.width(32.dp)) { | ||
if (showDeleteButton) { | ||
Column { | ||
Text( | ||
text = "", | ||
style = HankkiTheme.typography.body8, | ||
color = Color.Transparent | ||
) | ||
Spacer(modifier = Modifier.height(11.dp)) | ||
Icon( | ||
painter = painterResource(id = R.drawable.ic_circle_x), | ||
contentDescription = "delete", | ||
tint = Gray300, | ||
modifier = Modifier | ||
.size(32.dp) | ||
.noRippleClickable(onClick = deleteMenu) | ||
) | ||
} | ||
} |
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.
showDeleteButton이 false일 때 Box에 해당하는 영역은 존재할거같아요!
두가지 궁금증이 있어요
- Box로 묶은 이유가 있나요? 단순 width라면 Column에서 처리해도 될 것 같아요! 그게 아니라면 Box도 같이 If문 안에 있는건 어떨까요?
- Text에는 값이 없는데 들어간 이유가 있는걸까용?
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.
- 리스트가 하나 남아있을 상황에서는 delete 버튼을 없애자는 의견이 나와서 이렇게 구현하였습니다!
- text부분 만큼의 크기를 주어서 delete 버튼의 위치를 조정한 것입니다!
feature/report/src/main/java/com/hankki/feature/report/main/ReportRoute.kt
Outdated
Show resolved
Hide resolved
...src/main/java/com/hankki/feature/storedetail/editbottomsheet/add/addmenu/AddMenuViewModel.kt
Outdated
Show resolved
Hide resolved
.../src/main/java/com/hankki/feature/storedetail/editbottomsheet/edit/editmenu/EditMenuRoute.kt
Outdated
Show resolved
Hide resolved
.../src/main/java/com/hankki/feature/storedetail/editbottomsheet/edit/editmenu/EditMenuState.kt
Show resolved
Hide resolved
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.
채고~~~~
완전 고생했수용 🎉
📌 Issue
⛳️ Work Description
-2차 스프린트
📸 Screenshot
동영상
3.mp4
이미지
📢 To Reviewers