Skip to content

Commit

Permalink
✨ [#273] Military / RadioButton 누르면 바텀시트 내려가도록 하기
Browse files Browse the repository at this point in the history
  • Loading branch information
kimsh153 committed Sep 4, 2023
1 parent 5d880dd commit 074adf8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,10 @@ struct InputMilitaryInfoView: View {
SMSRadioButton(
isSelected: Binding(
get: { state.selectedMilitaryServiceType == militaryServiceType },
set: { $0 ? intent.militaryServiceTypeDidSelected(type: militaryServiceType) : () }
set: {
$0 ? intent.militaryServiceTypeDidSelected(type: militaryServiceType) : ()
$0 ? intent.militarySheetDismissed() : ()
}
)
)
.buttonWrapper {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,10 @@ struct MyPageView: View {
SMSRadioButton(
isSelected: Binding(
get: { state.selectedMilitaryServiceType == militaryServiceType },
set: { $0 ? intent.militaryServiceTypeDidSelected(type: militaryServiceType) : () }
set: {
$0 ? intent.militaryServiceTypeDidSelected(type: militaryServiceType) : ()
$0 ? intent.militarySheetDismissed() : ()
}
)
)
.buttonWrapper {}
Expand Down

0 comments on commit 074adf8

Please sign in to comment.