Skip to content

Commit

Permalink
Merge pull request #274 from GSM-MSG/273-military-dropdown-button-tap…
Browse files Browse the repository at this point in the history
…-dismiss
  • Loading branch information
kimsh153 authored Sep 4, 2023
2 parents 5d880dd + 074adf8 commit 42ae075
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 42ae075

Please sign in to comment.